diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..0230c44ef 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,72 @@ - - - - My form exercise - - - - -
-

Product Pick

-
-
-
- - -
-
- - - + + + + + T-Shirt Order Form + + + + + + + + + +
+
+

T-Shirt Order Form

+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + +
+
+ + + \ No newline at end of file diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..9c4824202 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,55 @@ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; +} + +form { + background-color: white; + padding: 30px; + border-radius: 10px; + width: 350px; +} + +h1 { + text-align: center; + margin-bottom: 20px; +} + +.form-group { + margin-bottom: 15px; +} + +label { + display: block; + margin-bottom: 5px; + font-weight: bold; +} + +input, +select { + width: 100%; + padding: 10px; +} + +button { + width: 100%; + padding: 10px; + border: none; + background-color: black; + color: white; + cursor: pointer; +} + +button:hover { + background-color: #333; +} \ No newline at end of file