From 19fabafee40f4b19315b5654b7437dbdcdf6a48e Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Sat, 24 Jan 2026 14:14:31 +0000 Subject: [PATCH 1/7] Completed form --- Form-Controls/index.html | 65 +++++++++++++++++++++++++++++++++++----- 1 file changed, 57 insertions(+), 8 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..93e6f5431 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -12,16 +12,65 @@

Product Pick

-
- - -
+
+

Please complete all required (*) fields.

+

+ + +

+

+ + +

+

+ + + + + + + +

+

+ + + + + + + + + + +

+

+ +

+
From 4afcffecd9e1d8ce0952a35b979ee40b9ab814d3 Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Sat, 24 Jan 2026 14:36:51 +0000 Subject: [PATCH 2/7] editied form --- Form-Controls/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 93e6f5431..771f956be 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -15,7 +15,7 @@

Product Pick

Please complete all required (*) fields.

- + Product Pick />

- + Product Pick />

- + @@ -48,11 +49,12 @@

Product Pick

- + From f3f0745fbfb6e65882b61a79e1ba570c9127ea78 Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Thu, 5 Feb 2026 10:48:22 +0000 Subject: [PATCH 3/7] Found errors in code and fixed / changed id&class values --- Form-Controls/index.html | 94 ++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 51 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 771f956be..8dcde0793 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,63 +1,60 @@ - - - - - - My form exercise - - - - -

-

Product Pick

-
-

Please complete all required (*) fields.

-

- + +

+ + type="text" + id="name" + name="name" + placeholder="Enter your name" + required + minlength="3" + maxlength="30" + pattern="[A-Za-z ]+" + />

-

- - + +

-

- - + + - +

-

- + +

+ - + /> + @@ -66,13 +63,8 @@

Product Pick

+

- +

-
-
-

By Ihor Taradaiko

-
- - From a3fd56accd8f9d1b1815bc75c823ca70d83e3fcd Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Thu, 5 Feb 2026 10:50:15 +0000 Subject: [PATCH 4/7] Changed pattern for "name" --- 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 8dcde0793..cef1796b1 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -11,7 +11,7 @@ required minlength="3" maxlength="30" - pattern="[A-Za-z ]+" + pattern=".*[A-Za-z].*" />

From cc8501abb9f54d53ca4ab3ae78687b763abe503a Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Thu, 5 Feb 2026 10:52:13 +0000 Subject: [PATCH 5/7] added pattern to "color" --- Form-Controls/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index cef1796b1..8cde5849f 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -34,6 +34,7 @@ name="color" placeholder="Color" list="color-options" + pattern="Yellow|Blue|White" required /> From bf06264aa6b1808b9f0ed362b7704e8c617462c8 Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Thu, 5 Feb 2026 10:54:30 +0000 Subject: [PATCH 6/7] Beautified --- Form-Controls/index.html | 44 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 36 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 8cde5849f..e0c484557 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -3,40 +3,19 @@

- +

- +

- + @@ -46,15 +25,8 @@

- + @@ -68,4 +40,4 @@

- + \ No newline at end of file From 2ce19c935337562f8642ce4766094d6c6171bb24 Mon Sep 17 00:00:00 2001 From: Ihor Taradaiko Date: Thu, 5 Feb 2026 18:58:16 +0000 Subject: [PATCH 7/7] Changes to code ( added doctype, title / fixed forms using -

+ +
+

Please complete all required (*) fields.

-

- - -

+

+ + +

-

- - - - - - - -

+

+ + +

-

- - - - - - - - - - -

+

+ + +

-

- -

-
\ No newline at end of file +

+ + +

+ +

+ +

+ + +