Submitted over 1 year ago
NFT preview card component built with HTML and CSS
@KingsleyChukwu
Design comparison
SolutionDesign
Solution retrospective
I nested all the img element in a div, then I set the image to take 100% width of the parent div container.. I wonder if there is any difference between using just the img element and giving it a width or nesting it in a div and allowing it to assume the full width of its container.
Community feedback
- @YoungZVPosted over 1 year ago
Hi congrats on your solution,
Just a suggestion:
Try to add interactive elements to your code such as <a> or button. The template images show that there are 3 elements that are needed.
Marked as helpful0@KingsleyChukwuPosted over 1 year ago@YoungZV I really appreciate your suggestion. I will take it into consideration in my subsequent projects
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