Skip to content

webdevbynight/time-tracking-dashboard-main

Repository files navigation

Frontend Mentor - Time tracking dashboard solution

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.

Table of contents

Overview

The challenge

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

Screenshot

Screenshot of the solution

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS (via SCSS)
    • custom properties
    • logical properties
    • flexbox
    • grid
  • JavaScript (via TypeScript)
  • Mobile-first workflow

What I learned

I learnt the way of building a grid layout with the keyword auto-fit. I thought it would be complicated to use it, but it is as easy as to use the repeat() function, where such a keyword is used. Combined with the use of the clamp() function to define the grid container width, I managed not to multiply media queries.

Author