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 RESPONSIVE FOR 375PX AND PC

@davidlayobo

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


PLS I NEED SOMEONE TO HELP ME IMPROVE MORE BETTER ,THANKS.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @davidlayobo

Your project looks good!

The only thing that's missing is the hover effect on the image, the title and the person's name:

About the image, it's a bit tricky, but here's how you can do it:

HTML

<img src="images/image-equilibrium.jpg" alt="Equilibrium" class="pic">
    <div class="icon">
      <img src="images/icon-view.svg" alt="icon-view" class="icon-view">
    </div>

CSS

         .pic {
            width: 300px;
            background: url('images/icon-view.svg') center center no-repeat;
            background-color: $Cyan-hover;
            background-size: cover;
            margin: auto;
            border-radius: 10px;
        }
        .icon {
            display: grid;
            justify-content: center;
            align-items: center;
            position: absolute;
            opacity: 0;
            background-color: $Cyan-hover;
            width: 300px;
            height: 300px;
            border-radius: 10px;
        }
            icon:hover {
                opacity: .5;
                cursor: pointer;
            }

Don't forget to change the class names to match your project's.

Other than that, my friend, great job!

1

@davidlayobo

Posted

Hi @danielmrz-dev I forgot there was an hover effect i will check it out thanks 👍

0
Ahmed Faisal 5,095

@afrussel

Posted

Hello @davidlayobo, Overall, not bad for a novice. The vision that responds well is likewise good. To solve the problem, I applied the hover effect. Please have a look at my solution; it might be able to assist you identify the problems you're having. Additionally, I used a seamless hover effect transition.

0

@davidlayobo

Posted

Hi @afrussel I froget there was an hover effect maybe i will check to fix fix mine thanks for your help 😔 i kindly appreciate

0
Ahmed Faisal 5,095

@afrussel

Posted

Hello, @davidlayobo

It's perfectly okay, don't feel bad about it.

1

@davidlayobo

Posted

I would like to chat with u privately to ask some questions@afrussel

0
Ahmed Faisal 5,095

@afrussel

Posted

Hi @davidlayobo,

Sure no problem, feel free to ask me

0

@davidlayobo

Posted

How can i improve on JavaScript@afrussel

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