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

Product Pick

-
+
- - +
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+ +
diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..09c40b024 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,53 @@ +body { + font-family: Arial, sans-serif; + background-color: white; + margin: 0; + padding: 40px; + + } + + .form-group { + margin-bottom: 20px; + } + + h1 { + text-align: center; + margin-bottom: 25px; + } + + .container { + max-width: 500px; + margin: auto; + background: #ffffff; + padding: 30px; + border-radius: 10px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + } + + label { + display: block; + margin-bottom: 8px; + font-weight: bold; + } + + input, + select, + button { + width: 100%; + padding: 10px; + font-size: 16px; + border: 1px solid #cccccc; + border-radius: 5px; + box-sizing: border-box; + } + + button { + background-color: #000000; + color: white; + border: none; + cursor: pointer; + } + + button:hover { + opacity: 0.9; + } \ No newline at end of file