From e2e61e3d4fdc1a96631ca82b1db72b96c45801c2 Mon Sep 17 00:00:00 2001 From: Mahir Shah Date: Wed, 9 Sep 2026 18:10:23 +0100 Subject: [PATCH 1/4] Add basic input fields for name, email, shirt colour and size in index.html --- Form-Controls/index.html | 44 +++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..004f7056d 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -13,15 +13,49 @@

Product Pick

- + collect name, email, tshirt colour, tshirt size--> + +
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
From e79de372b1f5fa9f4f8ad9ba7cd9bc18e9e36794 Mon Sep 17 00:00:00 2001 From: Mahir Shah Date: Thu, 10 Sep 2026 17:01:03 +0100 Subject: [PATCH 2/4] Add validation to name --- Form-Controls/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 004f7056d..a76de09e7 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -22,7 +22,8 @@

Product Pick

size - 6 options, XS, S, M, L, XL, XXL-->
- +

From 7c61a35d666d2ff3dd15d3a81299c8cf5fbdc547 Mon Sep 17 00:00:00 2001 From: Mahir Shah Date: Thu, 10 Sep 2026 17:10:24 +0100 Subject: [PATCH 3/4] Add placeholder to email input --- 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 a76de09e7..56957049c 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -28,7 +28,7 @@

Product Pick


- +

From 7803f175a04676f81f70cf01b48fbde89c0d07ce Mon Sep 17 00:00:00 2001 From: Mahir Shah Date: Thu, 10 Sep 2026 17:38:18 +0100 Subject: [PATCH 4/4] Remove uneeded comment. Format with Prettier. Add comment explaining regex --- Form-Controls/index.html | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 56957049c..9a82e4130 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,4 +1,4 @@ - + @@ -13,24 +13,34 @@

Product Pick

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