From 26d3321e985771c9c9af56673e707ea1a8b249e8 Mon Sep 17 00:00:00 2001 From: Ahmad Date: Wed, 21 May 2025 22:08:19 +0100 Subject: [PATCH 1/6] Add Title for this form, add header and make labels for name and email address. --- Form-Controls/index.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..b0ba3c0f5 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -3,16 +3,25 @@ - My form exercise + T-shirt Order Form
-

Product Pick

+

Order your T-Shirt

+ + + +

+ + + + +

-

+ -

+ + + + + + +
+ Choose a T-shirt color + + + +
+ + +

- - - - +

@@ -42,8 +40,20 @@

Order your T-Shirt

Green
+
- + + + +








-

By HOMEWORK SOLUTION

+

By Ahmad Ehsas

From 9e42d5d72b5464173f332c60bd133c1c611102c4 Mon Sep 17 00:00:00 2001 From: Ahmad Date: Thu, 29 May 2025 23:05:41 +0100 Subject: [PATCH 4/6] i have added Submit button. I have added the pattern attribute to my input to ensure the user can't submit names with only spaces. --- Form-Controls/index.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 6d781c523..b56b3d2a5 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -15,7 +15,7 @@

Order your T-Shirt

- +

@@ -53,11 +53,10 @@

Order your T-Shirt

-








- - +

+ + +