Recipe Page using TypeScript and LightningCSS

Solution retrospective
I tried to be as pixel-perfect as it can be, but next time I would have use rem
/em
units instead of static unit such as px
I tried to have the "wrapper" element padding in each side but it will not work since the image for mobile breakpoint needs to be stretch side-to-side. Instead, what I did was to have each `` a padding-inline
.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@emawid
- Good use of semantic elements
- Accessibility good be improved with aria-labels on sectionining elements
- layout looks good on mobilie and desktop according to specs
- solution very close to design
- alternative solution to mobile layout could be a "full-bleed" img element that bleeds outside of the wrapper. https://css-tricks.com/full-bleed/
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