This is a solution to the Results summary component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Solution URL: https://github.com/jayrnoel/results-summary-component
- Live Site URL: https://venerable-klepon-f565aa.netlify.app/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
This practice is a small project to help me practice flexbox again. I applied flex-basis
because I don't think that the results and summary are equal.
My first impression on the project was how to make the results div bleed to the viewport on top. I have forgotten that I can control individal corners of the box. The syntax goes:
border-radius: 0 0 3rem 3rem;
/* top left, top right, bottom right, bottom left */
- MDN - This helped understand controlling the border-radius for each corner of the box.
- CSS Tricks - This is the resource I always go to whenever I get stuck on flexbox.
- Flexbox Zombies - A fun and free resource for practicing flexbox. This helped me with the concepts of flexbox stick.
- Frontend Mentor - @jayrnoel