diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..5cb4cc67c 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,9 +1,10 @@ - + My form exercise + @@ -13,15 +14,79 @@

Product Pick

- - + +
+ Personal Details + +
+ + +
+ + +
+ + +
+
+ + +
+ T-shirt Information + + +
+ + + +
+ + +
+ + + +
+
+ +
+ + +
diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..344c9932f --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,41 @@ +body { + font-family: Arial, Helvetica, sans-serif; + line-height: 1.5; + margin: 2rem; +} + +form { + max-width: 400px; + margin: 0 auto; +} + + +div { + margin-bottom: 1rem; +} + + +label { + display: inline-block; + width: 120px; +} + +button { + padding: 0.5rem 1rem; + border-radius: 5px; +} + +.submit-btn { + background-color: #4CAF50; +} + +.reset-btn{ + background-color: #FFD8A8; + color: black; +} + +.buttons{ + text-align: center; + margin-top: 1.5rem; +} +