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.
Users should be able to:
- See hover states for interactive elements
- Solution URL: (https://github.com/Ax-cd/order-summary-challenge)
- Live Site URL: (https://ax-cd.github.io/order-summary-challenge/)
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
I first started this project in september, and I had decided to give up on it after spending more than ten days on it (struggle with Flexbox). At the end of October, I decided to give myself a second chance, and to start over. I completed the challenge in less than a day. As this is the first challenge I've done, I think I learned to be patient with myself, and to not give up (as cheesy as it may sound).
I struggled with flexbox and media queries, so I am quite proud of the final result.
body {
background-image: url(images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-color: hsl(225, 100%, 94%);
display: flex;
justify-content: center;
}
@media only screen and (max-width: 375px) {
body {
background-image: url(images/pattern-background-mobile.svg);
background-color: hsl(225, 100%, 94%);
}
}
In future projects I want to focus on:
- using Flexbox (and Grid)
- being comfortable with layouts
- being comfortable with media queries (and responsive designs)
- Flexbox Froggy (https://flexboxfroggy.com) - This game helped me recall the differents CSS properties to place properly the HTML elements using Flexbox.
- Website - Ax-cd (https://axcoding.blogspot.com/)
- Frontend Mentor - @Ax-cd(https://www.frontendmentor.io/profile/Ax-cd)
- Instagram - @ax.coding (https://www.instagram.com/ax.coding/)