Design comparison
Community feedback
- @Maromani248Posted over 2 years ago
Hi! Thanks for the feedback and advice, I'll put them into practice. I've recently been in the world of web development, so they help me a lot. Thanks again.
0 - @k-stopczynskaPosted over 2 years ago
Hi!
Congratulations on finishing this challenge!
Things you can improve:
-
accessibility: use header, main and footer tags instead of so many divs. Read about BEM.
-
Your solution is not very responsive due to position relative on the .group class. Try using flex on a parent element so it will shrink and grow as the resolution changes.
-
You can use shorthand for grid-template-columns if they are supposed to be the same size like: grid-template-columns: repeat (3, 1fr).
-
You use display: grid on card class but in this form it doesn't do anything actually, because you don't use any columns in there. What was your goal there? Are you certain that was the best solution to display just one card? Maybe flex would be better?
If you need some clarification on flex and grid check out Kevin Powell on youtube, he's a king of css and clarifies everything in just 20 minutes.
On the positive side: it looks good on desktop, very similar to the design nice of you using css variables
Hope this helps. Happy coding!
0 -
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