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 using HTML & CSS

@jonexist

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


This project was amazing actually but I struggle in designing this <hr> can anyone please suggest best practices for making horizontal line without using <hr> element? I'd appreciate answer/tips from this community!

Community feedback

Lucas 👾 104,420

@correlucas

Posted

👾Hello Jonathan, congratulations for your new solution!

🎉 Nice solution and nice code! I can see that you paid a lot of attention to your code/design. If you don’t mind I’ve some tips for you:

The value you’ve used for the shadow make it too much dark and strong, to create a smooth shadow you need to give it less opacity and more blur try this value for example: box-shadow: 0 0.9375rem 1.875rem -0.6875rem rgb(131 166 210 / 50%);

If you’re not familiar to box-shadow you can use this site to create the shadow design and then just drop the code into the CSS: https://html-css-js.com/css/generator/box-shadow/

✌️ I hope this helps you and happy coding!

Marked as helpful

1

@jonexist

Posted

@correlucas Thank you this will helps me a lot to improve my skills❤️

0
Hyron 5,870

@hyrongennike

Posted

Hi @jonexist,

Nice job on completing the challenge.

There are multiple ways of doing things.

1. You could have add a border bottom to the ul element.

2. You could have added a pseudo element to either the ul or .owner

but you did really well just check the report as well and fix those issues. Hope this is helpful.

Marked as helpful

1

@jonexist

Posted

@hyrongennike thanks man! I'm not familiar with pseudo element, I'll start learning about it🖤

0
Niklaus 160

@NiklausRupail

Posted

One way and the way I did it is to create a div with height of 1px

.line {
height: 1px
background: white;
width: <desired width>;
}

Marked as helpful

0

@jonexist

Posted

@NiklausRupail Gonna try this to my project, thanks man!

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