From 6694a388f984057e7cb2893cdebe59c99503eddf Mon Sep 17 00:00:00 2001 From: KhotKeys Date: Mon, 18 May 2026 23:06:11 +0100 Subject: [PATCH 1/2] Complete forms assignment --- Form-Controls/index.html | 62 ++++++++++++++++++++++++++++------------ Form-Controls/style.css | 49 +++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 18 deletions(-) create mode 100644 Form-Controls/style.css diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..0c6fc7f41 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,53 @@ - - - My form exercise - - + + + T-Shirt Order Form + -
-

Product Pick

-
-
+
+

T-Shirt Order Form

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

By HOMEWORK SOLUTION

-
+ - + \ No newline at end of file diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..52e87b31f --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,49 @@ +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + margin: 0; + padding: 40px; +} +.container { + max-width: 500px; + margin: 0 auto; + background-color: #ffffff; + padding: 30px; + border-radius: 8px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); +} +h1 { + text-align: center; + margin-bottom: 24px; +} +form { + display: flex; + flex-direction: column; + gap: 20px; +} +label { + display: block; + margin-bottom: 6px; + font-weight: bold; +} +input, +select { + width: 100%; + padding: 10px; + border: 1px solid #cccccc; + border-radius: 4px; + font-size: 16px; + box-sizing: border-box; +} +button { + padding: 12px; + border: none; + background-color: #000000; + color: white; + font-size: 16px; + border-radius: 4px; + cursor: pointer; +} +button:hover { + background-color: #2d758b; +} \ No newline at end of file From 87d29450149b146454d41c5c0201350040baa846 Mon Sep 17 00:00:00 2001 From: Gabriel Khot Garang Pawuoi <141131685+KhotKeys@users.noreply.github.com> Date: Mon, 18 May 2026 23:47:44 +0100 Subject: [PATCH 2/2] Complete forms assignment --- Form-Controls/index.html | 85 ++++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 43 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 0c6fc7f41..dd0cba7f5 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -6,48 +6,47 @@ T-Shirt Order Form - -
-

T-Shirt Order Form

+ +
+

T-Shirt Order Form

-
-
- - -
- -
- - -
- -
- - -
- -
- - -
- - -
-
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+
- - \ No newline at end of file + +