Responsive landing page

Solution retrospective
Next time, I will try to write cleaner CSS code and use clamp()
for font sizes.
I had a few problems positioning the header images using the position
property in CSS. Eventually, I used margin
to avoid overflow and layout issues.
I appreciate any feedback you may have. Thank you!
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@laurice-dev
You're doing a great job! Kudos! Just a couple of notes that may be helpful. Your HTML markup looks great. A great element is the <picture> element. It allows us to change the header image at a certain breakpoint. This is super helpful when we need switch pictures.
Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/picture
#CSS Great use of custom properties for your colors and typography. The only thing I would re-examine is your breakpoints. I feel like the hero-image switched over to the mobile-hero-image a bit too soon at 1267px.
Keep up the great work! We are in this together!
Marked as helpful
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