From c00ddfc300bb95c23605dfcc574ec395e53f14e6 Mon Sep 17 00:00:00 2001 From: Martim Lou Date: Wed, 3 Jun 2026 14:23:56 +0100 Subject: [PATCH 1/3] add name, email input boxes and submit button to test the form is working --- Form-Controls/index.html | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..e9fa0e912 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,4 +1,4 @@ - + @@ -13,15 +13,35 @@

Product Pick

- - + + + + + + + + + +
From 2bb47a37d6f5a623aea91694d4742d6690d4dbef Mon Sep 17 00:00:00 2001 From: Martim Lou Date: Wed, 3 Jun 2026 14:33:09 +0100 Subject: [PATCH 2/3] add radio buttons for colour and a dropdown selector for size --- Form-Controls/index.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index e9fa0e912..278ebe13d 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -25,6 +25,7 @@

Product Pick

pattern=".*\S.*\S.*" title="Please enter your name, or at least two non-space characters." /> +
Product Pick type="email" required /> +
+
+ T-shirt colour + + + + + + +
+
+ + +
From 386c32a41f213e3e1def34012a07d37ae4e3516d Mon Sep 17 00:00:00 2001 From: Martim Lou Date: Wed, 3 Jun 2026 14:44:40 +0100 Subject: [PATCH 3/3] improve form semantics with fieldsets, fix syntax error --- Form-Controls/index.html | 72 ++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 278ebe13d..d39c1fd2b 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -15,26 +15,30 @@

Product Pick

- - - -
- - - -
+
+ Your details + + + + + + + + +
+
T-shirt colour @@ -54,19 +58,23 @@

Product Pick

Blue
+ -
- - -
+ T-shirt size + + + + +