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

Full version not perfect made using css and flexbox

@karthik5860

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 was not able to make this perfectly so I have lots of doubts they are:

  1. I was not able to change the color of the image when hovered because I was not able to find the blend mode required.
  2. I was not able to put the words in correct place so had to use  
  3. I was not able to link the three hover items so that even if one item was hovered all remaining items will make changes according to the given setting.

Welcome for feedback and if possible can solve my doubts. Thank you

Community feedback

SrHatcher 710

@SrHatcher

Posted

Hello Karthikeya!

You are making a great work. don't worry if you struggle making projects. When you struggle it means that you're going the right way to be better in the future!

Personally i used this setting to make the blue background when you hover the image: Background-color: hsla(178, 100%, 50%, 0.5), you could try it. hsla allows you to use oppaticy in your colors at the final setting: 0.5.

To use the fonts for the project you can get them from google fonts, i've seen that every project on frontendmentor uses google fonts for the font-family. if you don't know how to use google fonts yet you can watch this tutorial: https://www.youtube.com/watch?v=qgmLDPLApBY

You can use this CSS rule to make the project more inmersive: cursor: pointer, so that when you put the mouse on something that is supposed to be some kind of link the cursor of the mouse will change to a pointer icon.

I couldn't understand your third point: I was not able to link the three hover items so that.... if you'd like to explain it again maybe i can help you.

Marked as helpful

0

@karthik5860

Posted

@SrHatcher i wanted to link three hover items so that the image will change color even if I hover over name and title

1
SrHatcher 710

@SrHatcher

Posted

@karthik5860 oh i see, i can't think in a way to do that without using Javascript. I would add a addEventListener("mouseover", activateAllHoversFunction) to know when the cursor is over the element that i want to trigger all hovers. In the activateAllHoversFunction i'll add the code to manipulate the desire elements in my DOM and active the hover classes (when i say active the hover classes i'm saying that i would add a class to those elements, not active the :hover pseudoclass exactly). Sorry if it's hard to understand, i'm not very good at explaining JS code. Hoping you find it useful :)

Marked as helpful

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