From c7a30ee63e36f51048d544ddcbc7aaa6e8bb8c92 Mon Sep 17 00:00:00 2001 From: mrafeie Date: Sat, 9 May 2026 21:47:50 +0100 Subject: [PATCH 1/4] Add form elements for customer details and T-shirt options --- Form-Controls/index.html | 64 +++++++++++++++++++++++++++++++++++----- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..71749b34e 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -12,16 +12,66 @@

Product Pick

-
- - -
+
+ + + + + + +
+ + +
+ T-Shirt Colour + + + + + + +
+ + + + + + + +
From 7e350d8d87e24a93d9869a7166d4a72dff982234 Mon Sep 17 00:00:00 2001 From: mrafeie Date: Fri, 15 May 2026 22:22:33 +0100 Subject: [PATCH 2/4] Review issues fixed --- Form-Controls/index.html | 97 ++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 58 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 71749b34e..227f889c0 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -12,66 +12,47 @@

Product Pick

-
- - - - - - -
- - -
- T-Shirt Colour - - - - - - -
- - - - - - - -
+
+ + +
+ +

+ +
+ colour: + + + + + + + +
+ +

Choose your size

+ + +
- -

Mahdi Rafiei

+

Anita Amirhaeri

From 3f3dd7bc1b824cd5426709ca31c494e16d0a4b85 Mon Sep 17 00:00:00 2001 From: mrafeie Date: Tue, 26 May 2026 16:53:20 +0100 Subject: [PATCH 3/4] fixed issues - button added --- Form-Controls/index.html | 102 ++++++++++++++++++++++++--------------- 1 file changed, 64 insertions(+), 38 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 227f889c0..9162cba6a 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,58 +1,84 @@ - + - My form exercise - + T-shirt Order Form + + -
-

Product Pick

-
-
+ + +
+

T-shirt Order Form

+
- -
- -

+
+ + -
- colour: +
+ + - - - - - - -
+
+ + -

Choose your size

+
+ + - +
-

Anita Amirhaeri

+ +

Mahdi Rafiei

From 507e038538392cee9a29b26e8dc06dcccb565681 Mon Sep 17 00:00:00 2001 From: mrafeie Date: Wed, 27 May 2026 10:35:32 +0100 Subject: [PATCH 4/4] error fixed - Added quantity input to T-shirt order form --- Form-Controls/index.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 9162cba6a..cf2c4d1f6 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -9,7 +9,6 @@ content="T-shirt order form for customers to place orders" /> -
@@ -19,6 +18,7 @@ - What is the customer's email? I must make sure the email is valid. Email addresses follow a consistent pattern. - What colour should this T-shirt be? I must provide 3 options and to ensure they do not choose other colours. - What size does the customer want? I must provide the following 6 options: XS, S, M, L, XL, XXL and to ensure they do not choose other sizes. + - How many does the customer want? I must collect a number for quantity of t-shirts and ensure the number is between 1 and 100. -->

T-shirt Order Form

@@ -31,7 +31,7 @@

T-shirt Order Form

name="name" type="text" minlength="2" - placeholder="First Name Surname" + placeholder="FirstName Surname" pattern="[\p{L} ]{2,}" required /> @@ -66,7 +66,19 @@

T-shirt Order Form

- + +
+ + +