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

Sunny card made with scss

#sass/scss#bem
Amaury Franssenā€¢ 180

@ExploryKod

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


Glad to share my card with you.

I know it is not perfect as I had just few time to design it yesterday evening. Especially the size is very far from the solution as I had no access to figma or sketch file (I took free option).

Happy to hear some advice from you.

I was coding before going to bed for fun.

Community feedback

Daniel šŸ›øā€¢ 38,770

@danielmrz-dev

Posted

Hello @ExploryKod!

Your solution looks excellent!

I have just one suggestion:

  • Use main to wrap the main content instead of main and article.

šŸ“Œ The tag article would make more sense if the card was part of a bigger website (in certainly would in real world), but here it is all we have on the screen.

This tag change does not impact your project visually and makes your HTML code more semantic, improving SEO optimization as well as the accessibility of your project.

I hope it helps!

Other than that, great job!

0
Marcos Travagliniā€¢ 4,940

@Blackpachamame

Posted

Greetings! you have done a great job šŸ˜Ž

šŸ“Œ Some suggestions

  • You can use the calc function on your min-height. From your 100vh you can subtract the height of your footer so that this vertical scroll is not caused. This would look like: min-height: calc(100vh - 11px)
  • You can add a margin-inline in your layout__card so that the card is not stuck to the edges on mobile screens
  • I leave you the task of researching the box-sizing: border-box
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