From 38a8fe5a4b11c6f978227604940eb8e771556c8f Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 30 Oct 2023 14:28:06 +0000 Subject: [PATCH 1/2] form control updated --- Form-Controls/index.html | 69 ++++++++++++++++++++++++++++++---------- Form-Controls/styles.css | 52 ++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+), 17 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 4344b144..48793a14 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,28 +1,63 @@ - - - My form exercise - - - + + + + My form exercise + -
-

Product Pick

-
-
-
- - -
+
+

T-Shirt Order Form

+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
-
+
+ + +
+ + + + + + - \ No newline at end of file + + diff --git a/Form-Controls/styles.css b/Form-Controls/styles.css index e69de29b..e9e4e025 100644 --- a/Form-Controls/styles.css +++ b/Form-Controls/styles.css @@ -0,0 +1,52 @@ +body { + font-family: Arial, sans-serif; +} + +.container { + max-width: 400px; + margin: 0 auto; + padding: 20px; + border: 1px solid #ccc; + border-radius: 10px; + text-align: center; +} + +.form-group { + margin-bottom: 20px; +} + +label { + display: block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="text"], +input[type="email"], +select, +input[type="date"] { + width: 100%; + padding: 10px; + font-size: 16px; + border: 1px solid #ccc; + border-radius: 5px; +} + +button { + background-color: #4caf50; + color: white; + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; +} + +button:hover { + background-color: #45a049; +} + +input:focus, +select:focus, +button:focus { + outline: 2px solid #4caf50; +} From aa1ed7e2851a7a0517814c17f008b7dbc708d186 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 25 Nov 2023 16:29:29 +0000 Subject: [PATCH 2/2] change php to html --- 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 48793a14..24fb2ba5 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -44,8 +44,7 @@

T-Shirt Order Form

- +