Skip to content

Frontend Mentor - Time Tracking Dashboard using HTML, CSS & JavaScript

License

bccpadge/time-tracking-dashboard

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

Desktop Preview

Links

My process

Built with

What I learned

In this project, I learned how to fecth data from json file and populate the cards dynamically for multiple timeframes.

fetch('./data.json')
.then((response) => {
  if (!response.ok) {
     throw new Error(`HTTP error! Status: ${response.status}`);
  }
  return response.json();
})
.then((data) => {
  console.log(data);
})
.catch((error) => {
   console.error(`Error fetching data: ${error}`)
});

Continued development

Add animations in future projects.

Useful resources

  • Using CSS Properties - Local scoped CSS properties can be useful for reusability
  • Shots - Create and share beautiful screenshots of your site

Author 👩‍💻

Acknowledgments

This great Time Tracking Dashboard solution is the reason why I completed this challenge.

About

Frontend Mentor - Time Tracking Dashboard using HTML, CSS & JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published