Design comparison
SolutionDesign
Solution retrospective
👋 Hello, Frontend Mentor coding community. This is my solution for the Order Summary Component.
Feel free to leave any feedback and help me improve my solution.
Community feedback
- Account deleted
Hey Jeevitha, congratulations on completing the challenge!
Let me give you some little tips for optimizing your code:
- remove
display: table
property from html - remove
width: 100%; height: 100%; position: fixed;
properties from body - remove the
container
class from themain
tag - remove
margin and height
properties frompanel
class because with flex they are superfluous - to make it look as close to the design as possible add
border-radius: .5rem; overflow: hidden;
topanel
class - add
transition
on the element with hover effect - instead of using
px
use relative units of measurement likerem
-> read here
Hope this help! Happy coding 😁 by Travolgi
Marked as helpful0@jeevitha1123Posted over 2 years ago@travolgi thank you so much for your valuable feedback surely going to try all these tip keep supporting 😁
1Account deleted@jeevitha1123 You are welcome! it is a pleasure to help you 😁 Keep it up
0 - remove
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