
Design comparison
Solution retrospective
Hello, everyone! This is my 2nd solution. This challenge was pretty easy but fun to do.
I would like to know if there's any way to improve my code. Thanks in advance :)
Community feedback
- P@Trischa-99Posted 26 days ago
You did a great job replicating the design! I have a few small ideas and tips to make it feel even better.
To ensure the color changes only when hovering directly over the text, you need to adjust the code slightly.
Instead of this .card:hover .text-container h2 { color: hsl(47, 88%, 63%); } Do this .text-container h2:hover { color: hsl(47, 88%, 63%); }
You can also change the appearance of the cursor when hovering over the title.
.text-container h2 { cursor:pointer; }
I hope this helps. Keep up the good work!
Marked as helpful0
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