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

Bolat 70

@Bolat0

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 coudn't make a gap between my text. Does anybody know how to do it?

Community feedback

yishak abrham 2,150

@yishak621

Posted

U don't have to set a gap u should align them using either grid or flex ....if u don't know how to align items horizontally or vertically u should read more about them ....so in these case

/*icons*/ 
 .icons { 
   display: flex; 
   flex-direction: row; 
   justify-content: space-between; 
   align-items: center; 
 }

the space between property will make a gap for the items

Marked as helpful

2

Bolat 70

@Bolat0

Posted

@yishak621 Thank you!

0

@rachit0706

Posted

Congratulations for attempting the challenge! But there are a few suggestions with which you can improve your code

  • For creating gaps in your text wrap them inside a div and use flexbox and I assume that you know about flex as you have already used in the body tag.
  • I think you have forgotten to push the images in the github repository because they are not showing in the live site.
  • Also, the main heading of 'Equilibrium #3429' should be wrapped under h1 tag instead of h2 for better semantics and seo. You can adjust the font size of this h1 according to the design.

If you find this feedback valuable, then please mark it as helpful

Marked as helpful

2

Bolat 70

@Bolat0

Posted

@rachit0706 Thank you!

0
yishak abrham 2,150

@yishak621

Posted

And also the images are not displayed check ur file path again for the pictures

Marked as helpful

0
Adriano 34,090

@AdrianoEscarabote

Posted

Hi Bolat, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:

I noticed that you had problems with the image, and it is not showing I think we can fix your problem this way:

<img src="./nft-preview-card-component-main/images/image-equilibrium.jpg">

as vscode uploads the first index file from the repository, it is uploading what is out of the folder!

The rest is great!

I hope it helps... 👍

0

@Vickyfcb

Posted

to make gap use display:flex; flex-direction:row; align-items:center; justify-contents:space-between;

and also your image isnt showing. you did a nice work.

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