Design comparison
Solution retrospective
Hi! I have two only questions about this, really:
-
I used a pseudo element to make the background of one of the divs lighter and it works fine, but now I'm wondering if that was the right decision?
-
I added a box-shadow for the hover and focus states, not sure if it's clear enough, what do you think?
Thanks!
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Greetings, Agata Liberska! 👋
Nice job on another challenge (as usual)! 👏
I'm not sure why you decided to use pseudo-elements to color the background of the box in the lower-right corner of the card component. You can just use the
background
property to color the background for thatdiv
. 😉I think an
<article>
tag might work slightly better than a<section>
tag for the card component since it is a standalone element that makes sense without additional context from a parent.And you might want to add some border-radius to the two bottom corners of the card component. 🙂
Keep coding (and happy coding, too)! 😁
1 - @spymonPosted over 3 years ago
Hi, @Agata Liberska, 👋 well done on this challenge, I think it looks really good overall!
The box-shadow looks clear enough on my screen. The only thing I would add to the CTA button is
cursor: pointer;
😉Happy coding! 😊
1@AgataLiberskaPosted over 3 years ago@spymon you're right, I missed that, thank you! 😊
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