diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..34cfb2b4b 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,63 @@ - + - My form exercise + + Product Pick Form -
-

Product Pick

-
-
-
- - -
-
- +
+
+

Product Pick

+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
+ +
diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..459b73ca1 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,63 @@ +body { + margin: 0; + padding: 10px; + font-family: "Segoe UI", sans-serif; + display: flex; + justify-content: center; +} + +.container { + background-color: #bfbfbf; + width: 500px; + padding: 35px; + font-size: 16px; + border-radius: 10px; +} + +header { + background: #4f46e5; + color: white; + padding: 15px 30px; + display: flex; + align-items: center; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +header h1 { + margin: 0; + font-size: 20px; +} + +.field { + background-color: #f1f1f1; + padding: 10px; + border: 2px solid white; + display: flex; + align-items: center; + gap: 10px; + margin-bottom: 5px; +} + +label { + width: 150px; +} + +input, +select { + flex: 1; + padding: 6px; +} + +.submit_field { + text-align: right; + margin-top: 10px; +} + +.submit_button { + background-color: skyblue; + padding: 10px 20px; + border-radius: 8px; + border: none; + cursor: pointer; + font-weight: bold; +}