-
Notifications
You must be signed in to change notification settings - Fork 1
Review suggestions #14
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
base: main
Are you sure you want to change the base?
Conversation
macfrei
left a comment
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.
Hope this makes sense for you! If you have any questions, please don't hesitate to ask. I hope I didn't break your side 😄. When adding my suggestions, maybe do that in an own branch and don't merge mine.
| @@ -0,0 +1,19 @@ | |||
| .aside { | |||
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.
As this is it's own component, I would add a dedicated css file for it.
| @@ -0,0 +1,17 @@ | |||
| .cta { | |||
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.
Same for this button!
| background-color: var(--pale-cyan); | ||
| } | ||
|
|
||
| .header__top-container { |
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.
I think here it is an element of your header block (BEM), with the other one it is a new block you are starting.
| .header__bottom-container { | ||
| display: grid; | ||
| grid-template-columns: 50% 50%; | ||
| .bottom-container { |
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 is its own block I guess.
| @@ -0,0 +1,6 @@ | |||
| .main { | |||
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 is the tile-wrapper style. I think leaving out the div and styling the main directly is a better solution.
| @@ -0,0 +1,100 @@ | |||
| @media only screen and (max-width: 1000px) { | |||
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.
I would suggest adding these in its own css file as well.
| padding-top: 2vh; | ||
| } | ||
|
|
||
| .tile__p { |
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.
Usually when using BEM or adding CSS classes it is not common to cite the HTML element. Would be better to name it according to the content.
| >[email protected]</a | ||
| > | ||
| </div> | ||
| <div class="contact__item contact__learn-more" aria-label="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.
Usually aria-labels are used for buttons, links or images or something like that.
Nice job! I changed a few things that I thought would be a bit unnecessary. I will explain in comments 🙂