-
Notifications
You must be signed in to change notification settings - Fork 625
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
Develop #777
base: master
Are you sure you want to change the base?
Develop #777
Conversation
src/index.html
Outdated
method="POST" | ||
action="https://mate-academy-form-lesson.herokuapp.com/create-application" | ||
> | ||
<fieldset class="fs1"> |
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.
use required for one of your inputs
src/index.html
Outdated
<label class="label"> | ||
Surname: | ||
<input | ||
type="text" | ||
name="surname" | ||
minlength="3" | ||
maxlength="20" | ||
autocomplete="off" | ||
> | ||
</label> |
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.
follow code styling recommendations
<label class="label"> | |
Surname: | |
<input | |
type="text" | |
name="surname" | |
minlength="3" | |
maxlength="20" | |
autocomplete="off" | |
> | |
</label> | |
<label class="label"> | |
Surname: | |
<input | |
type="text" | |
name="surname" | |
minlength="3" | |
maxlength="20" | |
autocomplete="off" | |
> | |
</label> |
src/index.html
Outdated
</label> | ||
<label class="label"> |
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.
add an empty line between multiline siblings
</label> | |
<label class="label"> | |
</label> | |
<label class="label"> |
src/index.html
Outdated
<label class="label"> | ||
Do you love cats? | ||
<input | ||
type="radio" |
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.
each label/select should be wrapped with a label
<label class="label"> | |
Do you love cats? | |
<input | |
type="radio" | |
<div class="label"> | |
Do you love cats? | |
<label> | |
<input | |
type="radio" |
src/index.html
Outdated
</label> | ||
</fieldset> | ||
|
||
<fieldset class="fs1"> |
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.
redundant class
<fieldset class="fs1"> | |
<fieldset> |
src/index.html
Outdated
<label class="fs1"> | ||
Would you recommend us? | ||
<select | ||
name="yes_or_no" |
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.
name="yes_or_no" | |
name="recommendation" |
@@ -1 +1,13 @@ | |||
/* styles go here */ | |||
.label { |
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.
You may only apply those classes to your filedset
and form field (label
or div
)
Example:
.fieldset:not(:last-child) {
margin-bottom: 20px
}
.field:not(:last-child) {
margin-bottom: 10px
}
DEMO LINK
TEST REPORT LINK