Skip to content

abhishek-baliyan-dev/Frontend-mentor-challenge-Results-summary-component

Repository files navigation

Challenge: 1, 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

Screenshot

Links

My process

  • First, I See the design then thought, how do I lay that out in html
  • Then I wrote the HTML
  • Second, how can i use CSS to achieve the layout
  • Then I wrote the CSS for layout
  • Third, how should each element be styled
  • Then I wrote CSS for each element
  • Finally I refactored the css

Built with

  • Semantic HTML5 markup
  • CSS
  • Flexbox
  • Mobile-first workflow

What I learned

  • CSS Layout, Responsiveness, transparency, flexbox

This code below took some time

<div id="bg-circle">
  <h2>76</h2>
  <p>of 100</p>
</div>
#bg-circle {
    margin: 20px auto;
    padding: 26px;
    border-radius: 50%;
    width: 126px;
    background: linear-gradient(hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, 0));
}

Continued development

  • CSS Grid
  • In depth Flexbox

Useful resources

Author

Acknowledgments

I really appreciate the tutorial youtube playlist of Frontend Web Development from Zach Gollwitzer.

About

Frontend Mentor Challenge - Results summary component - HTML/CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published