Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Open Code Chicago authored Aug 28, 2024
1 parent 40ce181 commit 64c3b13
Showing 1 changed file with 55 additions and 53 deletions.
108 changes: 55 additions & 53 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,64 +37,66 @@
</style>
</head>
<body>
<div class="wrapper">
<!-- Simple box with border, margin, and background color -->
<div class="box">box1</div>

<!-- Box model example with labeled elements for margin, border, padding, and content -->
<div class="box2">
box2
<span class="text">Margin</span>
<span class="text2">Border</span>
<span class="text3">Padding</span>
<span class="text4">Content</span>
</div>
</div>
<!-- This is a comment in HTML -->

<!-- Container demonstrating box-sizing differences (content-box vs. border-box) -->
<div class="container">
<div class="item1">item 1</div>
<div class="item2">item 2</div>
<div class="item3">item 3</div>
<div class="item4">item 4</div>
</div>
<!-- This is a main heading in HTML -->
<h1>Heading</h1>
<!-- Inline CSS example that overrides other styles -->
<h2 style="color: pink">Heading</h2>

<!-- Flexbox container centered on the page -->
<div class="container2">
<div class="item5">item 5</div>
<div class="item6">item 6</div>
<div class="item7">item 7</div>
<div class="item8">item 8</div>
</div>
<!-- Other heading levels -->
<h3>Heading</h3>
<h4>Heading</h4>
<h5>Heading</h5>
<h6>Heading</h6>

<!-- Flexbox container demonstrating justify-content (center and space-between) -->
<div class="container3">
<div class="item9">item 9</div>
<div class="item10">item 10</div>
<div class="item11">item 11</div>
<div class="item12">item 12</div>
</div>
<!-- Paragraph tag with a class for styling -->
<p class="paragraph">This is a paragraph.</p>

<!-- Flexbox container demonstrating flex-direction column -->
<div class="container4">
<div class="item13">item 13</div>
<div class="item14">item 14</div>
<div class="item15">item 15</div>
<div class="item16">item 16</div>
</div>
<!-- Hyperlink to another website -->
<a href="https://www.google.com">Google</a>

<!-- Line break for spacing -->
<br />

<!-- Image tag with a source and attribute alt as alternative text for accessibility -->
<img
src="images/image.webp"
alt="Placeholder"
/>

<!-- Line break for spacing -->
<br />

<!-- Button element for user interaction -->
<button>Click Me</button>

<!-- Semantic HTML elements for structure and accessibility -->
<header>
<!-- Content for the header, typically contains logo, navigation, etc. -->
</header>
<nav>
<!-- Navigation links go here -->
</nav>
<main>
<!-- Main content of the page goes here -->
</main>
<section>
<!-- A section of related content -->
</section>
<article>
<!-- An independent piece of content, such as a blog post -->
</article>
<aside>
<!-- Sidebar content, often used for advertisements or related links -->
</aside>
<footer>
<!-- Footer content, like copyright info and social media links -->
</footer>

<!-- Flexbox container with wrapping enabled -->
<div class="container5">
<div class="item17">item 17</div>
<div class="item18">item 18</div>
<div class="item19">item 19</div>
<div class="item20">item 20</div>
<div class="item21">item 21</div>
<div class="item22">item 22</div>
<div class="item23">item 23</div>
<div class="item24">item 24</div>
<div class="item25">item 25</div>
<div class="item26">item 26</div>
<!-- Div tag for grouping and styling content, often used as containers -->
<div id="container">
<!-- Content inside the div goes here -->
</div>
</body>
</html>

0 comments on commit 64c3b13

Please sign in to comment.