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
- Solution URL: Solution
- Live Site URL: Live site URL
- 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
- Semantic HTML5 markup
- CSS
- Flexbox
- Mobile-first workflow
- 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));
}
- CSS Grid
- In depth Flexbox
- Frontend Web Development for Beginners - This help me alot in the revision of HTML, CSS, JS.
- Website - Abhishek Baliyan - Coming soon
- Frontend Mentor - @abhishek-baliyan-dev
- Twitter - @Abhi___baliyan
I really appreciate the tutorial youtube playlist of Frontend Web Development from Zach Gollwitzer.