Skip to content

cloudydaiyz/time-tracking-dashboard-react

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

My process

Built with

What I learned

  • How to deploy a React.js application as a static website on GitHub Pages using Vite (source)
  • Going from imperative functionality in JS (and some declarative in HTML and CSS) to complete declaritive functionality in React.js is a bit greater transition than I thought it'd be
  • For files in the public folder, use import.meta.env.BASE_URL instead of / as the root directory, as vite.config.ts can change your root directory.

Note: Delete this note and the content within this section and replace with your own learnings.

Useful resources

Author