Skip to content
Submitted about 4 years ago

HTML/CSS Beginner's First Attempt at a Challenge

LVL 1
@ahouyang
A solution to the NFT preview card component challenge

Solution retrospective


Thanks for anyone looking this over! I'm currently a software developer who works primarily in Java, but I have been learning front end web development in order to expand my skills/employability. I'm still learning the fundamentals so I recognize that my implementation of this challenge may be shaky.

What's the best practice way to apply CSS selectors? I found myself here using IDs sometimes, classes sometimes, and tag hierarchy sometimes, not totally sure when to use what. Are classes generally the preferred way? Or are classes only preferred when they're reusable? Some clarity on best practices here would be helpful!

I have many other questions about flexbox/why things were behaving a particular way but I think those are best answered by myself going through some solutions and trying them out.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Andy Ouyang’s solution.

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