Skip to content

Conversation

@macfrei
Copy link

@macfrei macfrei commented Aug 30, 2021

Nice job! I changed a few things that I thought would be a bit unnecessary. I will explain in comments 🙂

Copy link
Author

@macfrei macfrei left a 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 {
Copy link
Author

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 {
Copy link
Author

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 {
Copy link
Author

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 {
Copy link
Author

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 {
Copy link
Author

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) {
Copy link
Author

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 {
Copy link
Author

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:">
Copy link
Author

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.

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.

1 participant