-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 #4481
base: master
Are you sure you want to change the base?
add task solution #4481
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 João! There are some tiny improvements that we could implement for the next projects, check them out below!
> | ||
<label class="search-bar__label search-bar__label_big"> | ||
<input | ||
class="search-bar__input search-bar__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.
nice BEM modifiers!
.search-bar__label_small::after { | ||
background-image: url(./images/Search.svg); | ||
background-repeat: no-repeat; | ||
background-size: contain; |
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.
these 3 lines could've been comprised in line 45 (.search-bar__label::after) as they are common for both
font-weight: 300; | ||
font-family: inherit; | ||
box-shadow: 0 1px 8px rgba(61, 78, 97, 0.1); | ||
outline: none; |
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.
when we have lots of css properties (7+) in a single selector, it's a good idea to separate some of them semantically using line breaks
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 ❗️