diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..dd0cba7f5 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,52 @@ - - - My form exercise - - + + + T-Shirt Order Form + - -
-

Product Pick

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

T-Shirt Order Form

+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+
+ + 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