diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..73232c6bb 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,71 @@ - - - - My form exercise - - - - -
-

Product Pick

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

T-Shirt Order Form

+ +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..e1edbba1c --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,34 @@ +body { + font-family: Arial, sans-serif; + max-width: 600px; + margin: 40px auto; + padding: 20px; +} + +h1 { + text-align: center; +} + +form { + display: flex; + flex-direction: column; + gap: 16px; +} + +label { + display: block; + margin-bottom: 5px; + font-weight: bold; +} + +input, +select, +button { + width: 100%; + padding: 10px; + box-sizing: border-box; +} + +button { + cursor: pointer; +}