diff --git a/readme.md b/readme.md index ed4805f1..ccf4bdf4 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # HTML form Replace `` with your Github username and copy the links to Pull Request description: -- [DEMO LINK](https://.github.io/layout_html-form/) -- [TEST REPORT LINK](https://.github.io/layout_html-form/report/html_report/) +- [DEMO LINK](https://ollavka.github.io/layout_html-form/) +- [TEST REPORT LINK](https://ollavka.github.io/layout_html-form/report/html_report/) > Follow [this instructions](https://mate-academy.github.io/layout_task-guideline/#how-to-solve-the-layout-tasks-on-github) ___ @@ -40,7 +40,7 @@ Create HTML page with form. On form submit send form data to `https://mate-acade - Age should be at least `1` and at max `100` with a default value of `12` - The email field should have placeholder value: `email@example.com`. - Text fields should have `autocomplete="off"`. -- `Submit` button should have a `type="submit"` +- `Submit` button should have a `type="submit"` - Vertical distance between inputs should be `10px` - Vertical distance between groups should be `20px` - Any other styles should be browser default diff --git a/src/index.html b/src/index.html index 3348db1c..8bd059a5 100644 --- a/src/index.html +++ b/src/index.html @@ -11,7 +11,194 @@ -

HTML Form

+
+
+
+
+ Personal information +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ Registration +
+ +
+
+ +
+
+
+ An interesting fact about you! +
+ Do you love cats? + + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ Additional info +
+ +
+
+ +
+
+ +
+
+
+ diff --git a/src/style.css b/src/style.css index c4301db2..e4901806 100644 --- a/src/style.css +++ b/src/style.css @@ -1 +1,7 @@ -/* styles go here */ +.form__fieldset { + margin-bottom: 20px; +} + +.form-fieldset__field:not(:last-child) { + margin-bottom: 10px; +}