-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
add task solution #3866
add task solution #3866
Conversation
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.
GJ!
Read the following comments
src/style.css
Outdated
color: var(--main-text-colot); | ||
} | ||
|
||
input { |
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.
Set it in search-form__input
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 need to set color: var(--main-text-colot) in search-form__input ?
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.
do not style by tags. move all styles for input to .search-form__input selector.
box-sizing better to set in * selector
src/style.css
Outdated
} | ||
|
||
html { | ||
font-family: Avenir, sans-serif; |
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 fallback font
src/index.html
Outdated
data-qa="big" | ||
> | ||
<label class="search-form__label"> | ||
<span class="search-form__image search-form__image--big"></span> |
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.
Just set all styles in this selectors to search-form__input, you don`t need this additional span here and in the small form
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.
Please check comments.
And demo_links - they are not works.
Try to deploy again.
If will have some problems with deploy - feel free to ask in chat.
src/index.html
Outdated
<span class="search-form__image search-form__image--big"></span> | ||
<input | ||
type="text" | ||
class="search-form__input search-form__input--big" |
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.
class="search-form__input search-form__input--big" | |
class="search-form__input" |
you don't need --big modifier.
set all styles in .search-form__input selector and change necessary for --small modifier.
same for other elements
src/style.css
Outdated
color: var(--main-text-colot); | ||
} | ||
|
||
input { |
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.
do not style by tags. move all styles for input to .search-form__input selector.
box-sizing better to set in * selector
src/style.css
Outdated
padding-left: 62px; | ||
font-size: 16px; |
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.
move this styles in .search-form__input selector
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.
Well done.
|
||
.search-form__input { | ||
outline: none; | ||
box-sizing: border-box; |
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.
box-sizing better to set for * selector.
* {
box-sizing: border-box
}
DEMO LINK
TEST REPORT LINK
Icon implemented using background-image CSS property
Inputs are written inside of 'form' tag with correctly passed attributes
All
Typical Mistakes
fromBEM
lesson theory are checked.Code follows all the Code Style Rules ❗️