Skip to content

arrayIntroduction website commit#1

Open
Karan5656 wants to merge 5 commits intomasterfrom
array-site
Open

arrayIntroduction website commit#1
Karan5656 wants to merge 5 commits intomasterfrom
array-site

Conversation

@Karan5656
Copy link
Copy Markdown
Owner

This is array introduction single page site.
Created with HTML, CSS, Javascript and AJAX

@Karan5656 Karan5656 requested a review from miral-zymr March 25, 2022 07:18
@Karan5656 Karan5656 self-assigned this Mar 25, 2022
Comment thread arrayIntroduction/array.html Outdated
Comment thread arrayIntroduction/array.html Outdated
Comment thread arrayIntroduction/array.html Outdated
Comment thread arrayIntroduction/array.html Outdated
Comment thread arrayIntroduction/script.js Outdated
Comment thread arrayIntroduction/script.js Outdated
Comment thread arrayIntroduction/style.css Outdated
Comment thread arrayIntroduction/style.css Outdated
Comment thread arrayIntroduction/array.html Outdated
<div class="container" id="content">

<!--Intro div-->
<div id="intro" style="display: block;">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the style in the .css file.

Comment thread arrayIntroduction/array.html Outdated
</div>

<!--String to array div-->
<div id="string" class="main-content" style="display: none;">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the style in the .css file.

Comment thread arrayIntroduction/array.html Outdated
<div class="input-output my-3">
<div class="input-box my-3">
Enter your array here...<br>
<input type="text" class="arrayValue" id="arrayValue1" name="arrayValue">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the standard practice of naming classes as per: https://css-tricks.com/bem-101/
The class name here should be: array-value or more generic name.

Comment thread arrayIntroduction/array.html Outdated
</div>

<!--Last Element div-->
<div id="lastElement" class="main-content" style="display: none;">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the style in the .css file.

Comment thread arrayIntroduction/array.html Outdated
</div>

<!--Pop div-->
<div id="pop" class="main-content" style="display: none;">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the style in the .css file.

Comment thread arrayIntroduction/array.html Outdated
]</span>
</code>
</div>
<div class="input-output my-3">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class names should be self-explanatory.

@@ -0,0 +1,173 @@
* {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants