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

I used sass

Zaraban6 70

@Zaraban6

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


What specific areas of your project would you like help with?

I implemented this exercise completely in the system. But when I upload to the git, the icon view is not displayed. please guide me

.img-m::after { background-color: hsla(178, 100%, 50%, 0.5); content: url(/icon-view.svg); position: absolute; display: flex; align-items: center; justify-content: center; inset: 0; opacity: 0; transition: all 2s ease-in-out; }

Community feedback

Pycoder 150

@Pycoder300

Posted

Try adding ./images before the icon link inside the url if the icon isn't displaying.

1

Zaraban6 70

@Zaraban6

Posted

@Pycoder300 I did it but it didn't work

0
Pycoder 150

@Pycoder300

Posted

@Zaraban6 url(./images/icon-view.svg). Have you added the dot before the slash on images?

Try updating this: background: center url(/images/icon-view.svg) no-repeat ;

with

This: background: center url(./images/icon-view.svg) no-repeat ;

0
Zaraban6 70

@Zaraban6

Posted

@Pycoder300 Yes, I did it but it didn't work. The same code is in vscode without any problem

0
Zaraban6 70

@Zaraban6

Posted

@Pycoder300 Yes, I did it but it didn't work. The same code is in vscode without any problem!!!

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