diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 4344b144..24fb2ba5 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,28 +1,62 @@ - - - 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; +}