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 preview card with HTML and CSS

Donny 120

@Donitron

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?

Most proud of how it is responsive and very satisfied with the hover animation.

What challenges did you encounter, and how did you overcome them?

The challenge I encountered had to do with styling the image. I realized that styling the img element is really inconsistent so I added a div as a wrapper and styled that instead.

What specific areas of your project would you like help with?

How do you make the font size responsive without using media queries? Do you set the font-size with vw?

Community feedback

@SSGBC

Posted

Job well done, the solution looks exactly like the design layout. The code is well laid out and appears to be reusable. I like that you used the universal selector in the CSS to turn the box sizing to border box. To make the font size responsive without using media queries you can use one of the 4 types of viewport units(VW, VH, VMIN, VMAX).

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