From 9fd0f2274cda76354946d210207f3d3fe2d65fae Mon Sep 17 00:00:00 2001 From: Raihan Sharif Date: Sun, 22 Feb 2026 01:05:12 +0000 Subject: [PATCH 1/2] order form with validation and accessibility --- Form-Controls/index.html | 91 +++++++++++++++++++++++++++++----------- 1 file changed, 66 insertions(+), 25 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..11c8a14e1 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,68 @@ - + - - - - My form exercise - - - - -
-

Product Pick

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

Product Pick

+
+
+
+ + + + + + + + + + +
+
+ + From 49d794d8b08279f9f68dcb826063aa052603bab7 Mon Sep 17 00:00:00 2001 From: Raihan Sharif Date: Wed, 25 Feb 2026 17:45:43 +0000 Subject: [PATCH 2/2] Fix html error select elements Select element now does not select one of the values by default. Also chose not to remove trailing / in void elements. As prettier does not allow this. Would require installing and configuring an unmaintained extension. --- Form-Controls/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 11c8a14e1..844b38151 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -39,15 +39,17 @@

Product Pick

id="shirt-color" aria-label="select shirt color" required> + - - + +