From f0f6330076b0e3b3372b089b7d34b05ea0fdc35e Mon Sep 17 00:00:00 2001 From: Rawan Almutairi Date: Tue, 29 Sep 2026 00:42:49 +0100 Subject: [PATCH 01/16] created forms and styled them --- Form-Controls/index.html | 62 ++++++++++++++++++++++++++++++++++++---- Form-Controls/style.css | 17 +++++++++++ 2 files changed, 73 insertions(+), 6 deletions(-) create mode 100644 Form-Controls/style.css diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..ce676ea05 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -4,6 +4,7 @@ My form exercise + @@ -13,15 +14,64 @@

Product Pick

- - + + Enter your name: + + + + + + + +

Choose your T-shirt color:

+ +

please select a color:

+

+ +
+ +
+ +
+

+ + + + + + + +
+ +

+ + Enter your email: + +

+ + + +
+
- + \ No newline at end of file diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..9b733c991 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,17 @@ +body { color: #141414; + + background-color: #6aa57e; + + font-family: Georgia; + + + +h1{ + +font-family: sans-serif; +color: rgba(15, 15, 15, 0.267); +background-color: #f5eeda; +text-align: center; +font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; + +} \ No newline at end of file From 2842943cb6081bfaaf9f73ad044aac50f080ad9e Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 11:26:52 +0100 Subject: [PATCH 02/16] fixing errors Updated input field for name to include pattern validation. --- Form-Controls/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index ce676ea05..ee267528c 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -16,8 +16,8 @@

Product Pick

Enter your name: - - + + @@ -52,7 +52,7 @@

Product Pick

-
+

+ +

- + From 7ec221f3d7240d65b8b71548772e0ca49e445567 Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 13:33:12 +0100 Subject: [PATCH 07/16] used a validator for HTML --- Form-Controls/index.html | 69 ++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 0a565a194..49f763077 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,12 +1,12 @@ - - + + My form exercise - - - + + +
@@ -16,7 +16,7 @@

Product Pick

Enter your name: - + @@ -27,47 +27,46 @@

Product Pick

please select a color:

- -
- + + +
- +

- +

Select your T-shirt size:

+  + +
+  + +
+  + +
+  + +
+  + +
+  + +
- -
- + From e8f3f7de270cd5d26c23b6c41bcc542204216128 Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 15:03:27 +0100 Subject: [PATCH 09/16] footer with author information Added footer with author name. --- Form-Controls/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 7e5517385..6464917c2 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -69,8 +69,10 @@

Product Pick

-
+
+

Rawan Almutairi

+

Rawan0-0

From 8d485582ad55b5c49241a53ae98e435288ec4fa0 Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 15:09:37 +0100 Subject: [PATCH 10/16] fixed bugs --- 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 6464917c2..42c6de347 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -74,7 +74,7 @@

Product Pick

Rawan Almutairi

-

Rawan0-0

+ From 16bae40f5cb0dda0ca04a2171bb9d1ace285c5ba Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 15:16:22 +0100 Subject: [PATCH 11/16] Removed duplicate font-family from style.css Removed redundant font-family declaration. --- Form-Controls/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/Form-Controls/style.css b/Form-Controls/style.css index bfdfb8bcf..b6c19008c 100644 --- a/Form-Controls/style.css +++ b/Form-Controls/style.css @@ -12,6 +12,5 @@ font-family: sans-serif; color: rgba(15, 15, 15, 0.267); background-color: #f5eeda; text-align: center; -font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; } From 50919b2a5112ac38127bb6455f354a6468fe918b Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 15:31:35 +0100 Subject: [PATCH 12/16] I fixed the color ratio for h1 --- Form-Controls/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Form-Controls/style.css b/Form-Controls/style.css index b6c19008c..a2f4a243e 100644 --- a/Form-Controls/style.css +++ b/Form-Controls/style.css @@ -9,8 +9,8 @@ body { color: #141414; h1{ font-family: sans-serif; -color: rgba(15, 15, 15, 0.267); -background-color: #f5eeda; +color: rgba(22, 14, 14, 0.74); +background-color: #f0ece8; text-align: center; } From a7ddac7df1b659b9755e48dc2974d50bff05aecb Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 15:42:12 +0100 Subject: [PATCH 13/16] Fix formatting issues in index.html --- Form-Controls/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 42c6de347..4b2b34407 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -78,3 +78,4 @@

Product Pick

+ From 56985251f4e03e92f1b8a2b769b0d83e2cbd6cc8 Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 15:43:44 +0100 Subject: [PATCH 14/16] formatting with prettier --- Form-Controls/style.css | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/Form-Controls/style.css b/Form-Controls/style.css index a2f4a243e..894e23e4d 100644 --- a/Form-Controls/style.css +++ b/Form-Controls/style.css @@ -1,16 +1,14 @@ -body { color: #141414; - - background-color: #6aa57e; +body { + color: #141414; - font-family: Georgia; - } - + background-color: #6aa57e; -h1{ - -font-family: sans-serif; -color: rgba(22, 14, 14, 0.74); -background-color: #f0ece8; -text-align: center; + font-family: Georgia; +} +h1 { + font-family: sans-serif; + color: rgba(22, 14, 14, 0.74); + background-color: #f0ece8; + text-align: center; } From e5a8744f97adfee4050468ef28fe855e9266e498 Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 16:07:22 +0100 Subject: [PATCH 15/16] Fix duplicate footer closing tag in index.html Removed duplicate closing footer tag. --- Form-Controls/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 4b2b34407..c60c41c53 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -74,8 +74,7 @@

Product Pick

Rawan Almutairi

- - + From e782c04ec1431aa8fd34d3bd53290c3b68f5cfb1 Mon Sep 17 00:00:00 2001 From: Rawan0-0 Date: Tue, 6 Oct 2026 16:09:39 +0100 Subject: [PATCH 16/16] Refactor HTML structure and improve formatting --- Form-Controls/index.html | 127 ++++++++++++++++++++------------------- 1 file changed, 65 insertions(+), 62 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index c60c41c53..80875ba27 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,12 +1,12 @@ - + - - + + My form exercise - - - + + +
@@ -14,67 +14,70 @@

Product Pick

- - - - - - -

Choose your T-shirt color:

- -

please select a color:

-

- - - -
- -
-

+ + + + + + +

Choose your T-shirt color:

+ +

please select a color:

+

+ + + +
+ +
+

- - -

Select your T-shirt size:

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

Select your T-shirt size:

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