From 11a69443e61b9d6b0e0135aed71f5eec5dab7910 Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:21:54 +0000 Subject: [PATCH 01/15] Add name field and submit button to test validation --- Form-Controls/index.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..7572a6349 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,4 +1,4 @@ - + @@ -8,20 +8,27 @@ +

Product Pick

+
- - + + + + +
+ + +
+ From 667fd996f6c65f34b7dadda7cc5e7c3d92f6142d Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:24:17 +0000 Subject: [PATCH 02/15] Add email field --- Form-Controls/index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 7572a6349..e05c8d82c 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -18,7 +18,14 @@

Product Pick

+
+ + + + + +
From 8caf0c54ca3b1265e04e6fbd365b85723556bb6e Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:25:45 +0000 Subject: [PATCH 03/15] Add T-shirt colour field --- Form-Controls/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index e05c8d82c..43ddb3761 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -22,7 +22,16 @@

Product Pick

- +
+ + + + From 1dd5b4c71f72b1ed186a4ad560d774e7086f32cf Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:27:44 +0000 Subject: [PATCH 04/15] Add Size options via radio buttons --- Form-Controls/index.html | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 43ddb3761..e0b54bb4f 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -31,7 +31,34 @@

Product Pick

- +
+

Size: + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +

From 0f0e9d3240f13588a18a3280f9499e3e0c13c1ed Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:28:11 +0000 Subject: [PATCH 05/15] Remove submit button --- Form-Controls/index.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index e0b54bb4f..0dfb51b2e 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -60,11 +60,6 @@

Product Pick

- - -
- - From 1774cf2c0b9598a8c56e7a3d7f91ba2d74163a99 Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:31:45 +0000 Subject: [PATCH 06/15] Attach labels to unputs --- Form-Controls/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 0dfb51b2e..aee90258a 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -35,27 +35,27 @@

Product Pick

Size:
- +
- +
- +
- +
- +
- +

From cda92fc4ef65a2d91b042c069d968f3511082e4e Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:35:18 +0000 Subject: [PATCH 07/15] Add spacing between controls --- Form-Controls/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index aee90258a..3844d0ffb 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -18,11 +18,11 @@

Product Pick

-
+

-
+

-
+

-
+

-
+

-
+

-
+

From 20bf3d9c576b156488dae2181af8d469cb4ba847 Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Sat, 14 Feb 2026 15:37:43 +0000 Subject: [PATCH 08/15] Check requirements --- Form-Controls/README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Form-Controls/README.md b/Form-Controls/README.md index bfcdf6c0b..1028d39dc 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 @@ -30,18 +30,18 @@ Do not write a form action for this project. 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. +- [x] 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 From d37ee80ae8eab31b76a69c36f9fc9611e046e0f0 Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Mon, 16 Feb 2026 19:50:43 +0000 Subject: [PATCH 09/15] Add empty value to colour set and make it required to choose --- Form-Controls/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 3844d0ffb..cbfb50458 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -24,7 +24,8 @@

Product Pick



- + @@ -36,7 +37,7 @@

Product Pick



- +

@@ -60,6 +61,9 @@

Product Pick

+
+ + From 59dd754143faefd3db3a0e8e09ce3bcdb74626e2 Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Mon, 16 Feb 2026 19:54:40 +0000 Subject: [PATCH 10/15] Add fieldset for size options and make it required to choose --- Form-Controls/index.html | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index cbfb50458..146c3f2a6 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -32,34 +32,37 @@

Product Pick

-
-

Size: +

+ +

+ + Size: + -

- +

- +

- +

- +

- +

- + -

+

From 99585ec872c7a671b1becf7705af582586b0d149 Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Mon, 16 Feb 2026 20:09:42 +0000 Subject: [PATCH 11/15] fix capitalisation and spacing issues --- Form-Controls/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 146c3f2a6..64aaf0cc6 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -16,7 +16,7 @@

Product Pick

- +

@@ -24,7 +24,7 @@

Product Pick



- @@ -40,27 +40,27 @@

Product Pick

- +

- +

- +

- +

- +

- + From 64112a7641fec94cc4950ffc5c298e697ec3d13e Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Mon, 16 Feb 2026 20:11:09 +0000 Subject: [PATCH 12/15] Capitalise Doctype --- Form-Controls/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 64aaf0cc6..4da936089 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,4 +1,4 @@ - + From 0b2f5d1435d4920589e209677ef2f18f790da59e Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Thu, 19 Feb 2026 11:29:03 +0000 Subject: [PATCH 13/15] disable selected placeholder option --- Form-Controls/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 4da936089..308dccf72 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -25,7 +25,7 @@

Product Pick





- - From 3063de41934ddfbc8cb32781dc24dad3873ab02d Mon Sep 17 00:00:00 2001 From: Alaterry8 Date: Fri, 20 Feb 2026 20:18:33 +0000 Subject: [PATCH 15/15] Make label format consistent --- Form-Controls/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 1612a3023..fdc5fc15f 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -23,8 +23,8 @@

Product Pick



- -