Skip to content

First commit for review - #676

Open
MykolaButylkov wants to merge 4 commits into
mate-academy:masterfrom
MykolaButylkov:develop
Open

First commit for review#676
MykolaButylkov wants to merge 4 commits into
mate-academy:masterfrom
MykolaButylkov:develop

Conversation

@MykolaButylkov

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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.

Comment thread 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;
}

Copy link
Copy Markdown

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.

Comment thread src/style.css Outdated
Comment on lines +19 to +20
padding: 10px;
border: 1px solid #e95d49;

Copy link
Copy Markdown

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.

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

Copy link
Copy Markdown

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.

Comment thread src/style.css Outdated
Comment on lines +6 to +11
.first,
.third,
.second {
background-color: #ddd;
margin: 0;
}

Copy link
Copy Markdown

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.

@MykolaButylkov MykolaButylkov left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown

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