This is a solution to the Order summary card challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Your challenge is to build out this order summary card component and get it looking as close to the design as possible.
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
Your users should be able to:
- See hover states for interactive elements
- Solution URL: click here to see the solution
- Live Site URL: click here to see the live Site
- codepen: click here to see the codepen
- Semantic HTML5 markup
- SCSS
- CSS custom properties
- CSS Grid
- CSS Flex
- build this project using
SCSS
which i am still learning - learned about
nesting
,variables
,mixins
and some basic stuff aboutSCSS
- discovered that
box-sizing
property can fixpadding
relatedoverflow
issues - applied the concept of variable for
screen-size
, in@media
queries, reducing redundancy and enhancing code readability.
box-sizing
fixed padding-overflowdiv { box-sizing: border-box; width: 100%; border-radius: 0.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
- use variables for writing
screen-size
in @media-queries$screen-size: 30rem; @media (min-width: $screen-size) { > div { padding: 1.5rem; } } @media (max-width: $screen-size) { > div { padding: 1rem; } }
- Website - Ranit Manik
- Frontend Mentor - @RanitManik
- LinkedIn - @ranit-manik
I would like to express my gratitude to the creators of the Frontend Mentor platform for providing an engaging and practical challenge in the form of the Blog Preview Card. The hands-on experience gained through tackling this project has significantly contributed to my growth as a web developer.
I want to acknowledge the supportive community at Frontend Mentor. The platform's collaborative environment and constructive feedback from peers have been invaluable in refining my skills and pushing me to strive for excellence.
This project has been a rewarding learning experience, and I look forward to applying these insights in future endeavors. Thank you to everyone who has played a part in my journey of continuous improvement.
Best regards,
Ranit Manik