-
Notifications
You must be signed in to change notification settings - Fork 609
add task solution #794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add task solution #794
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,171 @@ | |||||||||||||||||
| <link rel="stylesheet" href="./style.css"> | ||||||||||||||||||
| </head> | ||||||||||||||||||
| <body> | ||||||||||||||||||
| <h1>HTML Form</h1> | ||||||||||||||||||
| <form action="https://mate-academy-form-lesson.herokuapp.com/create-application" method="post"> | ||||||||||||||||||
| <fieldset> | ||||||||||||||||||
| <legend>Personal information</legend> | ||||||||||||||||||
| <div class="form"> | ||||||||||||||||||
Luk2asz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||
| <label> | ||||||||||||||||||
|
||||||||||||||||||
| <label> | |
| <label for="surname">Surname:</label> |
Add appropriate ids to form elements do the labels is connected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have corrected my code, please check now
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix formating in this file. Check the checklist for guidelince. It should be formatet like this:
| <input type="text" | |
| name="surname" autocomplete="off" | |
| > | |
| <input | |
| type="text" | |
| name="surname" | |
| autocomplete="off" | |
| > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have corrected my code, please check now
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,8 @@ | ||
| /* styles go here */ | ||
| .form { | ||
| margin-bottom: 10px; | ||
| } | ||
|
|
||
| fieldset { | ||
|
||
| margin-bottom: 20px; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change class name so it is not missleading. This HTML does not represents form, it is more like field-wrapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have corrected my code, please check now