arthurbicego / frontend-mentor-1

Frontend Mentor Challenge #1 - Results Summary Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Mentor - Results summary component solution

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.

Table of contents

Overview

The challenge

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

Screenshots

Challenge screenshot:

Challenge Screenshot

Result screenshot:

Result Screenshot

Links

My process

Built with

  • HTML5
  • CSS3
  • Flexbox

What I learned

Some of my major learnings in this challenge was with CSS, such as: code optimization and class reusing, Flexbox centering properties, and avoid magic numbers.

Flexbox Centering Property:

main {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

Continued development

In this challenge the main skills I identified that I need to improve is understand better the behavior of nested div and the Flexbox.

Useful resources

Author

Acknowledgments

A special thanks to Victor Bicego Quintaneira and Giovana Yokota who ever encourage me to study programming and from whom I was introduced to Frontend Mentor platform.

About

Frontend Mentor Challenge #1 - Results Summary Component


Languages

Language:CSS 59.9%Language:HTML 40.1%