diff --git a/Form-Controls/image.jpg b/Form-Controls/image.jpg new file mode 100644 index 000000000..a509ecb08 Binary files /dev/null and b/Form-Controls/image.jpg differ diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..dd6cdd759 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,86 @@ - - - - My form exercise - - - - -
-

Product Pick

-
-
-
- - -
-
- - - + + + + + Product Picker Form + + + + + + +
+

Please Enter Your Details

+
+
+
+ + + + + + + + +
+ Choose a Colour: + + + + + + + + + + + + + + +
+ + + + + + +
+
+ + + + \ No newline at end of file diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..58e3b5813 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,62 @@ +body { + background-image: url("image.jpg"); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + font-family: Arial, sans-serif; + max-width: 600px; + margin: 0 auto; + padding: 20px; + line-height: 1.6; +} + +header h1 { + text-align: center; + margin-bottom: 20px; +} + +form { + display: flex; + flex-direction: column; + gap: 15px; +} + +label { + font-weight: bold; +} + +input, +select { + padding: 8px; + font-size: 1rem; +} + +fieldset { + border: 1px solid #ccc; + padding: 10px; +} + +legend { + font-weight: bold; +} + +button { + padding: 10px; + font-size: 1rem; + background-color: #333; + color: white; + border: none; + cursor: pointer; +} + +button:hover { + background-color: #555; +} + +footer { + text-align: center; + margin-top: 30px; + font-size: 25px; + font-weight: bold; + color: #360670; +} \ No newline at end of file