Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MykolaButylkov
Copy link

Copy link

@VinnieJ-2k20 VinnieJ-2k20 left a 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
Comment on lines 6 to 14
.first,
.third,
.second {
/* box-sizing: border-box; */
background-color: #ddd;
border: 1px solid #e95d49;
padding: 10px;
margin: 0;
}

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
Comment on lines 19 to 20
padding: 10px;
border: 1px solid #e95d49;

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.

Copy link

@VinnieJ-2k20 VinnieJ-2k20 left a 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
Comment on lines 6 to 11
.first,
.third,
.second {
background-color: #ddd;
margin: 0;
}

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.

Copy link
Author

@MykolaButylkov MykolaButylkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@VinnieJ-2k20 VinnieJ-2k20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants