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

stats-preview-card-component

@ArchieK9

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I'm having troubles trying to add the second image to be responsive for mobile devices and the whole website responsive. I am also having problem trying to colour the images. P. S I will be really grateful if anyone can help me out

Community feedback

Vanza Setia 27,795

@vanzasetia

Posted

Hi, Achilike! 👋

For the image-header, I recommend for the fallback image (img), the src is the file path for the image-header-mobile.jpg. So, the media condition is using min-width instead of max-width. This way, if the browsers don't support the picture tag, those browsers will render the light version of the image.

For the purple overlay, I recommend using mix-blend-mode property. For your reference, I recommend taking a look at the @DarrickFauvel's solution. He did a great job on creating the overlay (and making the site responsive too).

I have three recommended videos. The first one tells how hard HTML is (HTML is not easy). The other two talk about modern CSS techniques and approaches.

I hope this helps! Happy coding!

Marked as helpful

0

@ArchieK9

Posted

@vanzasetia Thanks very much, especially for the bg-color. I'll reattempt the challenge.

1

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