From 2f9a36ecfe583084d72965ef528516640d71421e Mon Sep 17 00:00:00 2001 From: lola Date: Tue, 9 Dec 2025 00:01:31 +0100 Subject: [PATCH 1/2] Updated semantic HTML --- Form-Controls/README.md | 16 ++++----- Form-Controls/index.html | 70 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 71 insertions(+), 15 deletions(-) diff --git a/Form-Controls/README.md b/Form-Controls/README.md index bfcdf6c0b..54d27d2c5 100644 --- a/Form-Controls/README.md +++ b/Form-Controls/README.md @@ -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 diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..63d0e2066 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -3,25 +3,81 @@ - My form exercise - + + T-Shirt Form Exercise +
-

Product Pick

+

T-shirt Order Form

- + +
+ Customer Info + + +

Must be at least 2 characters long

+
+ +
+ + +

Must be a valid email address

+
+ +
+ Select T-shirt Color: + + + + + + + + +
+ +
+ Select a Size: + + + + + + + + + + + + + + + + + + +
+
+ +
From 3acae3c9128faa56098d9b2d3a5d4757c82f8320 Mon Sep 17 00:00:00 2001 From: lola Date: Tue, 9 Dec 2025 00:03:49 +0100 Subject: [PATCH 2/2] Modified file name --- 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 63d0e2066..83e1a4d4a 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -17,7 +17,7 @@

T-shirt Order Form