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 using semantic html and css

mircodev 60

@mircodg

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?

.

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

I didn't know how to create that box shadow and how to change pointer on hover so I started googling for solutions and managed to find a solution.

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

Why the font-weight property on the button text is different than the paragraph one?

Community feedback

@R3ygoski

Posted

Hello @mircodg, congratulations on completing another challenge.

I'm not sure why the button didn't change fonts, but I believe it might be due to inheritance. However, try changing the font-family to the global selector ( * ), as that might work. In fact, I usually prefer to use font-family in the global selector. It often solves many issues.

Edit: I think this was happening because your browser might have a default font for buttons. It's worth checking if that's the case.

Once again, congratulations on completing the challenge. If you have any questions, you know where to find me.

Marked as helpful

0

mircodev 60

@mircodg

Posted

Thank you again, I did what you said and it works now. So as you said it was probably something related to inheritance . @R3ygoski

1

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