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 - React + styled components

P

@AurelienWebnation

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 think it's a pixel perfect!

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

The best challenge was to detect the font-size change between mobile and tablet (and up). The difficult part about these font-size changes is that only the footer size doesn't change.

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

I need some review about the font-size management I used. I had hardcoded the css variable here, only for the footer, to be sure the size will be the same all the time : https://github.com/AurelienWebnation/frontend-mentor/blob/ff22ecd100e6ce0b4485cd3c3b39ff51bba9528b/blog-preview-card/src/App.tsx#L99

Community feedback

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