-
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 #4318
base: master
Are you sure you want to change the base?
add task solution #4318
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.
src/index.html
Outdated
data-qa="keypress" | ||
placeholder="Try “Los Angeles“" | ||
/> | ||
<div class="search-bar"> |
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.
This div is redundant
<div class="search-bar"> |
src/style.css
Outdated
* { | ||
font-family: Avenir, Arial, Helvetica, sans-serif; | ||
box-sizing: border-box; | ||
font-weight: 300px; |
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.
font-weight: 300px; | |
font-weight: 300; |
} | ||
|
||
* { | ||
font-family: Avenir, Arial, Helvetica, 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.
it is better to set font-family for html tag selector and let other elements inherit it
src/style.css
Outdated
width: 100%; | ||
border: 1px solid #e1e7ed; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
line-height: 21.86px; |
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 set decimal pixel values
src/style.css
Outdated
.search-bar-input--down { | ||
display: flex; | ||
font-size: 14px; | ||
border-radius: 5; |
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.
border-radius: 5; | |
border-radius: 5px; |
src/style.css
Outdated
width: 100%; | ||
border: 1px solid #e1e7ed; | ||
box-shadow: 0 1px 8px 0 rgba(61, 78, 97, 0.1); | ||
font-family: Avenir, Arial, Helvetica, 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.
font-family: Avenir, Arial, Helvetica, sans-serif; | |
font-family: inherit; |
Typical Mistakes
fromBEM
lesson theory are checked.