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

NFT preview card

Chris 110

@cgyeager

Desktop design screenshot for the NFT preview card component 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?

.

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

.

Community feedback

George 180

@GeorgeValentin

Posted

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 helpful

0

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