Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Blog review card using SASS/SCSS

@kennykage101

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

@kotangenss

Posted

⚡ 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 helpful

0

@kennykage101

Posted

Thanks will check that out@kotangenss

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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