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 component built with HTML and CSS

@KingsleyChukwu

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


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

YoungZV 260

@YoungZV

Posted

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 helpful

0

@KingsleyChukwu

Posted

@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 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