Design comparison
Solution retrospective
I am proud of improving on my styling skills
What challenges did you encounter, and how did you overcome them?I was trying to adjust the background image I placed on the first div in the card depending on the screen size. I wanted the image to be clipped by the sides just as it was shown in the Figma design file on the mobile design. I still haven't gotten it though
What specific areas of your project would you like help with?The aspect I talked about in the previous question asked about my challenges
Community feedback
- @kotangenssPosted 5 months ago
⚡ Your HTML solution is generally semantic. However, some tweaks could improve the semantics and accessibility: Using <article> instead of <div> for the blog card would improve the semantics, as the <article> element is intended for standalone components that can be independently distributed and reused.
✅ Your SASS code is well structured using nested styles and variables, making it readable and easy to maintain.
❗Use «box-sizing: border-box;» for the «class="blog"» element and the card component at 375px will be the same size as in the Figma layout.
Good luck ☘️
Marked as helpful0
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