Skip to content

Commit fa4a57b

Browse files
committed
Add css file and requirements
1 parent c44123d commit fa4a57b

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

Form-Controls/index.html

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
@@ -12,16 +12,24 @@
1212
<h1>Product Pick</h1>
1313
</header>
1414
<main>
15-
<form>
16-
<!-- write your html here-->
17-
<!--
18-
try writing out the requirements first as comments
19-
this will also help you fill in your PR message later-->
15+
<form class="form">
16+
<!-- - [ ] My form is semantic HTML.
17+
- [ ] My form is semantic HTML.
18+
- [ ] All inputs have associated labels.
19+
- [ ] My Lighthouse Accessibility score is 100.
20+
- [ ] I require a valid name.
21+
- [ ] I require a valid email.
22+
- [ ] I require one colour from a defined set of 3 colours.
23+
- [ ] I require one size from a defined set of 6 sizes. !-->
24+
25+
<div class="form-group">
26+
<label for="name"> Name</label>
27+
<input type="name" name="name" id="name" />
28+
</div>
2029
</form>
2130
</main>
2231
<footer>
23-
<!-- change to your name-->
24-
<p>By HOMEWORK SOLUTION</p>
32+
<p>By Ahmed Elmahmoudi</p>
2533
</footer>
2634
</body>
2735
</html>

Form-Controls/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.form {
2+
3+
}

0 commit comments

Comments
 (0)