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?.
What specific areas of your project would you like help with?.
Community feedback
- @GeorgeValentinPosted 5 months ago
A small advice, try to keep only CSS files related to styling and use JS only for website behavior. I know it seems like a good idea sometimes to just modify the styling inside JS, but as a project grows it becomes a nightmare to maintain. What you have done inside JS, can easily be done in by leveraging the
:hover
CSS pseudo-class. Use JS to adjust the styling only as a last resort. Other than that, it looks great, and props to you for being able to solve it with such few lines of code.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