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 Solution

@AlexanderTejedor

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Alex 3,130

@Alex-Archer-I

Posted

Hi!

Congrats with your first challenge here =)

Here a bunch of tips.

  • Use main tag. It's important semantic element.
  • It's better to use rem for font sizes. It is a relative value which adjust to user's font settings. 1rem = 16px by default.
  • min-height instead height for body tag would allow it to stretch in case if the content will be larger than the screen.
  • Since h1 have a hover effect it is assumed to be clickable element. So you could use an a tag here and apply cursor: pointer.

Overall, your code is neat and accurate! Keep doing =)

Marked as helpful

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