-
Notifications
You must be signed in to change notification settings - Fork 510
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
First commit for review #676
base: master
Are you sure you want to change the base?
Conversation
MykolaButylkov
commented
Mar 23, 2021
- DEMO LINK
- TEST REPORT LINK
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.
Some changes needed.
Details in comments.
src/style.css
Outdated
.first, | ||
.third, | ||
.second { | ||
/* box-sizing: border-box; */ | ||
background-color: #ddd; | ||
border: 1px solid #e95d49; | ||
padding: 10px; | ||
margin: 0; | ||
} |
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.
First - don't leave commented code.
Second - you don't need to create three separate classes here, it can be just one class.
src/style.css
Outdated
padding: 10px; | ||
border: 1px solid #e95d49; |
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 have same border and padding styles in three places.
Don't repeat yourself, create a common class for these styles.
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.
Almost finished - just one more thing to fix.
src/style.css
Outdated
.first, | ||
.third, | ||
.second { | ||
background-color: #ddd; | ||
margin: 0; | ||
} |
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.
One more time:
Classes first
, second
and third
belong to three different elements and have the same styles.
You can use just single class instead of these three.
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.
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.
Good job!