From 0527d28fa406b7d04fa8639a7f549a0a84012b3a Mon Sep 17 00:00:00 2001 From: Lamla Kamana Date: Wed, 9 Sep 2026 12:07:05 +0200 Subject: [PATCH 1/5] Add name field with required and pattern validation --- Form-Controls/index.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..8cfcfcd54 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -13,15 +13,24 @@

Product Pick

- + Requirements: + - Name: required, at least 2 non-space characters + - Email: required, valid email format + - Colour: required, choose 1 of 3 options + - Size: required, choose 1 of 6 sizes + - No form action needed for this project + --> +
+ + +
+
From db804ea70c1f2b76ea31306817a7c0501d1d24b5 Mon Sep 17 00:00:00 2001 From: Lamla Kamana Date: Wed, 9 Sep 2026 12:14:24 +0200 Subject: [PATCH 2/5] Add email field with required validation --- Form-Controls/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 8cfcfcd54..f3eb3bad7 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -25,6 +25,10 @@

Product Pick

+
+ + +
From b3a57622d0252a80fc8a58af29084a3c5235436b Mon Sep 17 00:00:00 2001 From: Lamla Kamana Date: Wed, 9 Sep 2026 12:21:37 +0200 Subject: [PATCH 3/5] Add clour field with radio buttons --- Form-Controls/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index f3eb3bad7..248cb3125 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -29,6 +29,21 @@

Product Pick

+
+ Colour + + + + + + +
From c9f584da4a10ceb378cc62926322e499b80df55e Mon Sep 17 00:00:00 2001 From: Lamla Kamana Date: Wed, 9 Sep 2026 12:26:08 +0200 Subject: [PATCH 4/5] Add with dropdown validation --- Form-Controls/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 248cb3125..801c58e27 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -44,6 +44,18 @@

Product Pick

Red +
+ + +
From 612d7a1477ee185cf24f853412a463d423ad34bf Mon Sep 17 00:00:00 2001 From: Lamla Kamana Date: Wed, 9 Sep 2026 20:54:13 +0200 Subject: [PATCH 5/5] Fix doctype and improve touch target sizing --- Form-Controls/index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 801c58e27..1a11ccc5e 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,6 +1,24 @@ + My form exercise