Design comparison
Solution retrospective
.
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
- @R3ygoskiPosted 7 months ago
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 usefont-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 helpful0@mircodgPosted 7 months agoThank 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 GitHubJoin 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