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
- Bonus: Use the local JSON data to dynamically populate the content
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Sass
Learned and used Sass to design this project
@mixin font-small($color: color, $weight: weight) {
font-weight: $weight;
font-size: $fs-small;
color: $color;
@media (min-width: $min-width) {
font-size: calc($fs-small + .15rem);
}
}
%flex-flow {
display: flex;
flex-direction: column;
}
%region {
flex: 50%;
display: grid;
gap: $gap;
}
I am learning more on SASS, and will learn more about APIs.
- Learn Sass - This gave me headstart into learning Sass.
- Frontend Mentor - @Fejiro001
- Twitter - @aberefejiro