Skip to content

Commit e732d80

Browse files
committed
Adding comments to code
1 parent f4e5824 commit e732d80

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
<header>
1616
<h1>T-Shirt Product Pick</h1>
1717
</header>
18+
19+
<!-- T-Shirt Information Collection Form Design (Name Email and T-shirt color) -->
1820
<main>
1921
<form>
20-
<!-- write your html here-->
21-
<!--
22-
try writing out the requirements first as comments
23-
this will also help you fill in your PR message later-->
2422

2523
<div>
2624
<label for="name">Name</label>
@@ -52,6 +50,8 @@ <h1>T-Shirt Product Pick</h1>
5250
<option value="Black">Black</option>
5351
</select>
5452
</div>
53+
54+
<!-- T-shirt Size Column -->
5555

5656
<fieldset>
5757
<Legend>Size</Legend>
@@ -86,7 +86,7 @@ <h1>T-Shirt Product Pick</h1>
8686
</form>
8787
</main>
8888
<footer>
89-
<!-- change to your name-->
89+
<!-- Footer -->
9090
<p>Designed with Love by Monsur Abdulrahman</p>
9191
</footer>
9292
</body>

‎Form-Controls/styles.css‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
2+
13
* {
2-
box-sizing: border-box;
4+
box-sizing: border-box;
35
}
46

57
h1, footer {
6-
text-align: center;
8+
text-align: center;
79
}
810

911

@@ -45,6 +47,8 @@ fieldset {
4547

4648
}
4749

50+
51+
4852
.size-option {
4953
display: flex;
5054
align-items: center;

0 commit comments

Comments
 (0)