From 4b779a4e64e76e21e1d448e25f3c99333b727522 Mon Sep 17 00:00:00 2001 From: AngelaMcLeary Date: Thu, 22 Jan 2026 15:51:13 +0000 Subject: [PATCH 1/5] details of input fields and submit and reset buttons --- Form-Controls/index.html | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..00478eb54 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -13,6 +13,37 @@

Product Pick

+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ +
+ +
+ + -

By HOMEWORK SOLUTION

+

Angela McLeary | Form-Controls | Sprint 2 | 2026

From 86c13e4e644ad52040993fb18daf69717ee851ac Mon Sep 17 00:00:00 2001 From: AngelaMcLeary Date: Thu, 22 Jan 2026 16:09:00 +0000 Subject: [PATCH 2/5] added t-shirt sizes --- Form-Controls/index.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 00478eb54..e4f6af206 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -33,8 +33,18 @@

Product Pick


- - + + +

From 3b638bd728b83fc99d7ef1ed81ae422bb2345945 Mon Sep 17 00:00:00 2001 From: AngelaMcLeary Date: Thu, 22 Jan 2026 16:53:06 +0000 Subject: [PATCH 3/5] added colour options, added validation and reuired option --- Form-Controls/index.html | 119 +++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 62 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index e4f6af206..73e672345 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,68 +1,63 @@ - - - - My form exercise - - - - -
-

Product Pick

-
-
- -
- - -
-
- -
- - -
+ + + + My form exercise + + + + + +
+

Product Pick

+
+
+ +
+ + +

- -
- - -
+
+ + +

- -
- - - -
+
+ + +

- -
- -
- - - - - -
-
- -

Angela McLeary | Form-Controls | Sprint 2 | 2026

-
- - +
+ + +
+
+
+ +
+ +
+
+ +

Angela McLeary | Form-Controls | Sprint 2 | 2026

+
+ + + \ No newline at end of file From 90d4cc7b29d03c909b093327089ca72437e607fe Mon Sep 17 00:00:00 2001 From: AngelaMcLeary Date: Thu, 22 Jan 2026 17:21:19 +0000 Subject: [PATCH 4/5] validated labels, added comments. fixed typos --- Form-Controls/README.md | 26 +++++++++++++------------- Form-Controls/index.html | 27 +++++++++++++++++---------- 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/Form-Controls/README.md b/Form-Controls/README.md index bfcdf6c0b..9fc739bc6 100644 --- a/Form-Controls/README.md +++ b/Form-Controls/README.md @@ -4,10 +4,10 @@ -- [ ] Interpret requirements and check against a list of criteria -- [ ] Write a valid form -- [ ] Test with Devtools -- [ ] Refactor using Devtools +- [x] Interpret requirements and check against a list of criteria +- [x] Write a valid form +- [x] Test with Devtools +- [x] Refactor using Devtools ## Task @@ -26,22 +26,22 @@ Writing that out as a series of questions to ask yourself: All fields are required. Do not write a form action for this project. -## Developers must test their work. +## Developers must test their work Let's write out our testable criteria. Check each one off as you complete it. -- [ ] I have used HTML only. +- [x] I have used HTML only. - [x] I have not used any CSS or JavaScript. ### HTML -- [ ] My form is semantic html. -- [ ] All inputs have associated labels. -- [ ] My Lighthouse Accessibility score is 100. -- [ ] I require a valid name. I have defined a valid name as a text string of two characters or more. -- [ ] I require a valid email. -- [ ] I require one colour from a defined set of 3 colours. -- [ ] I require one size from a defined set of 6 sizes. +- [x] My form is semantic html. +- [s] All inputs have associated labels. +- [x] My Lighthouse Accessibility score is 100. +- [x] I require a valid name. I have defined a valid name as a text string of two characters or more. +- [x] I require a valid email. +- [x] I require one colour from a defined set of 3 colours. +- [x] I require one size from a defined set of 6 sizes. ## Resources diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 73e672345..157d44493 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,4 +1,4 @@ - + @@ -8,6 +8,14 @@ +
@@ -17,14 +25,14 @@

Product Pick

- +
-
+
- +
-
+
-
+
-
+
-
From 101ae8fa62ef0b837b1640a4aee6d603275daead Mon Sep 17 00:00:00 2001 From: AngelaMcLeary Date: Thu, 22 Jan 2026 17:23:25 +0000 Subject: [PATCH 5/5] removed trailing space --- Form-Controls/index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 157d44493..b1b7d1beb 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,6 +1,5 @@ - @@ -16,7 +15,6 @@ - [x] I require a valid email. - [x] I require one colour from a defined set of 3 colours. - [x] I require one size from a defined set of 6 sizes.--> -

Product Pick

@@ -66,5 +64,4 @@

Product Pick

Angela McLeary | Form-Controls | Sprint 2 | 2026

- \ No newline at end of file