Skip to content

Commit c0d5aa2

Browse files
replace non-semantic div with semantic section tags
1 parent 7d5b6cd commit c0d5aa2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ <h1>Product Pick</h1>
1414
<main>
1515
<form>
1616
<!-- First name-->
17-
<div class="form-group">
17+
<section class="form-group">
1818
<label for = "first-name">First Name</label>
1919
<input type="text" id="first-name" name="first-name" required pattern=".*\S.*\S.*"
2020
arial-describedby="fnameHelp"</>
2121
<small id="fnameHelp">Must be at least 2 characters long</small>
22-
</div>
22+
</section>
2323
<!-- Last name-->
24-
<div class="form-group">
24+
<section class="form-group">
2525
<label for = "last-name">Last Name</label>
2626
<input type="text" id="last-name" name="last-name" required pattern=".*\S.*\S.*"
2727
arial-describedby="lnameHelp"</>
2828
<small id="lnameHelp">Must be at least 2 characters long</small>
29-
</div>
29+
</section>
3030
<!-- Email-->
31-
<div class="form-group">
31+
<section class="form-group">
3232
<label for = "email">Email</label>
3333
<input type="email" id="email" name="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$"
3434
arial-describedby="emailHelp"</>
3535
<small id="emailHelp">Must be a valid email address</small>
36-
</div>
36+
</section>
3737

3838

3939
<!--

0 commit comments

Comments
 (0)