Skip to content

Conversation

@DkSanjed
Copy link
Owner

New exercise

@DkSanjed DkSanjed requested a review from juancho11gm May 18, 2020 06:12
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">

Choose a reason for hiding this comment

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

don't include this file. Always create your new branches by being on master.

@@ -0,0 +1,18 @@
* section {

Choose a reason for hiding this comment

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

Suggested change
* section {
.section {

Prefer classnames over tagnames so your markup doesn't have to match your styles.

padding: 20px;
}
body {
display: grid;

Choose a reason for hiding this comment

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

don't apply this directly to the body, use a wrapper. If you do this and you want to include another element which is not a grid, you will have to deal with display issues.

display: grid;
grid-template: 50% 50% / 1fr 1fr 1fr;
}
section:first-child {

Choose a reason for hiding this comment

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

cool, you got the child pseudo selectors, but prefer classnames so your markup doesn't have to match your styles.

@juancho11gm
Copy link
Collaborator

Please fix the conflicts with 3-box-model/styles.css.

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.

4 participants