Order Summary Component with HTML & CSS

Solution retrospective
Is there a way to make good looks better on mobile without using media queries?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @FluffyKas
Hey, I'm not sure there's much point in avoiding media queries. You'll need them sooner or later. Of course, using min-/max-width instead of width (with the right units, % here is probably not the best choice) can spare you some trouble. You could also try coding the mobile view first and adjust things to bigger screens with media queries (or setting a max-width).
Marked as helpful - @frontendtony
The colors look a bit different from the design, including the button background and text colors. Other than that, it looks pretty close to the design visually. Good job
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