This is a solution to the Time tracking dashboard 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 site depending on their device's screen size
- See hover states for all interactive elements on the page
- Switch between viewing Daily, Weekly, and Monthly stats
- Solution URL: Solution URL
- Live Site URL: Live site URL
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
I learned the following:
- Take the differences between the layouts into considerations from the begining.
- Why is that important?
- Because this will make the styling process much more easer.
- Why is that important?
<section class="all-cards-wrapper">
<section class="three-cards-wrapper">
<section class="card1"></section>
<section class="card2"></section>
<section class="card2"></section>
</section>
</section>- The first section will be used to control the layout styles for the desktop design.
- The second section will be used to control the layout styles for the tablet design.
- In the mobile layout style we will give them the same styles to behaive as one container. Then deal with the sections of the cards.
- Resource 1 - This helped me in understanding how to use promises.
- Resource 2 - This is an amazing article which helped me in how the network is working.
- Resource 3 - This resource helped me in understanding how to utilize JSON in JS projects.
- Resource 4 - This resource discusses how to use filter method to to filter the results coming back from the promises.
- Resource 5 - This resource will teach you how to use the html data attribute to control html element using JS.
- Resource 6 - This resource go through DOM scripting, manipulation, and updating.
- Website - Hussain Al-shaer
- Frontend Mentor - @hussaindev94
- Twitter - @hussaindev94