Design comparison
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
- @vanzasetiaPosted about 2 years ago
Hi, Achilike! 👋
For the
image-header
, I recommend for the fallback image (img
), thesrc
is the file path for theimage-header-mobile.jpg
. So, themedia
condition is usingmin-width
instead ofmax-width
. This way, if the browsers don't support thepicture
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.
- Manuel Matuzović - Lost in Translation - YouTube
- Andy Bell – Be the browser’s mentor, not its micromanager - YouTube
- Stephanie Eeckles - Scaling CSS Layout Beyond Pixels - YouTube
I hope this helps! Happy coding!
Marked as helpful0@ArchieK9Posted about 2 years ago@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 GitHubJoin 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