Design comparison
Solution retrospective
Next time i would make the desktop style first
What challenges did you encounter, and how did you overcome them?figuring out grid layout was a challenge
What specific areas of your project would you like help with?the grid layout and the height of the page
Community feedback
- @Gehad28Posted 3 months ago
Hey @joaoxavier-profissional, nice work!
I can see you thought of the cards' layout as a grid of 6 columns. It is really a good thinking; I did something similar.
As you can see in the design, there are 3 columns, the first one has a single card, the second one has 2 above each other, and the third one also has a single card. So, how about thinking of the layout as a grid of 3 columns and 4 rows?
This way, you can just do the following:
.card-1, .card-4{ grid-row: 2/4; } .card-2{ grid-row: 1/3; } .card-3{ grid-row: 3/5; }
Also, For the heading, you may use
<br>
after the<span>
tag so that the text after the span goes into a new line, or you can just use<p>
for the regular text and<h1>
for the bold one. And don't forget to change the font weight for the desktop view. :)Hope that helped. Keep going ☘️
Marked as helpful1
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