Desktop first GRID responsive layout using SASS and BEM.
Design comparison
Solution retrospective
Hi there,
Feedback well appreciated!
Thank you!
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Hey, Agnieszka Urbanowicz! 👋
Well done on this challenge! 👍
The only small thing I suggest is using a single heading tag for the heading of the page (since it is really just a single heading, not two separate headings). You can style the two parts of the heading differently by wrapping on of them in a
<span>
tag and modifying the styles of the<span>
tag within the heading. 😉And I second tediko's helpful suggestion about the layout of the site! 😀
Keep coding (and happy coding, too)! 😁
0@axseingaPosted over 3 years agoHi there @ApplePieGiraffe, thank you so much for your feedback :) You are right indeed, it looks like it is single heading, the CSS repeats itself. Thank you for pointing that! I did not notice before :)
0 - @tedikoPosted over 3 years ago
Hello, Agnieszka! 👋
Congratulations on completing the next challenge! You add
margin
to your.card__container
element which causes that horizontall scroll appear. Margin is a shorthand for margin-top/right/bottom/left. Instead, give onlymargin-top: -150px
(for example, you don't have to keep it with percentages). Now you have to add somez-index
to your.heading
since your.card__container
is now retracted and overlaps on heading so you can't select text here.Good luck with that, have fun coding! 💪
0@axseingaPosted over 3 years ago@tediko Thank you for your feedback :) I changed
margin:
tomargin-top:
however the scroll still appears, it doesn't show on the full screen. I am not sure what you mean about .heading. All looks alright after the change.0@tedikoPosted over 3 years ago@axseinga Can't see because your page doesn't update your changes yet. About
.heading
z-index, move your mouse toheading--text
paragraph and try to select it, like you would want to copy this text. This is impossible because with negative margin, your.container
overflows this - that's why we needz-index
on.heading
. Hope it makes it more clear ;D0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord