diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..fcf379199 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,75 @@ - - - - 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..bdff5c812 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,59 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: Arial, sans-serif; + background-color: #f3f3f3; + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; +} + +form { + background-color: white; + padding: 30px; + border-radius: 10px; + width: 350px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); +} + +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; + border: 1px solid #ccc; + border-radius: 5px; +} + +button { + width: 100%; + padding: 10px; + background-color: black; + color: white; + border: none; + border-radius: 5px; + cursor: pointer; +} + +button:hover { + background-color: #333; +} \ No newline at end of file