{"id":24956492,"url":"https://github.com/all-my-frontend-mini-projects/time-tracking-dashboard_frontend_project","last_synced_at":"2025-04-10T18:53:30.747Z","repository":{"id":219855353,"uuid":"750102834","full_name":"all-my-frontend-mini-projects/Time-tracking-dashboard_frontend_project","owner":"all-my-frontend-mini-projects","description":"Track your time efficiently and improve your productivity with the Time Tracking Dashboard. Switch between daily, weekly, and monthly stats effortlessly and experience convinience at your doorstep with this time tracking dashboard so you never miss out on your daily consistency!!","archived":false,"fork":false,"pushed_at":"2024-05-31T04:53:43.000Z","size":204,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T16:41:20.483Z","etag":null,"topics":["beginner-friendly","css","frontend-project","html","mern-stack","nextjs","nodejs","react","responsive-layout","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://time-tracking-dashboard-comp.netlify.app/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/all-my-frontend-mini-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-30T01:38:37.000Z","updated_at":"2025-02-12T15:58:48.000Z","dependencies_parsed_at":"2024-01-30T02:44:38.278Z","dependency_job_id":"5caaf819-a043-4210-b450-d30b950a1646","html_url":"https://github.com/all-my-frontend-mini-projects/Time-tracking-dashboard_frontend_project","commit_stats":null,"previous_names":["sarthak-0-sach/time-tracking-dashboard_frontend_project","all-my-frontend-mini-projects/time-tracking-dashboard_frontend_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-my-frontend-mini-projects%2FTime-tracking-dashboard_frontend_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-my-frontend-mini-projects%2FTime-tracking-dashboard_frontend_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-my-frontend-mini-projects%2FTime-tracking-dashboard_frontend_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-my-frontend-mini-projects%2FTime-tracking-dashboard_frontend_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/all-my-frontend-mini-projects","download_url":"https://codeload.github.com/all-my-frontend-mini-projects/Time-tracking-dashboard_frontend_project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248275327,"owners_count":21076569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beginner-friendly","css","frontend-project","html","mern-stack","nextjs","nodejs","react","responsive-layout","vanilla-javascript"],"created_at":"2025-02-03T06:35:34.914Z","updated_at":"2025-04-10T18:53:30.725Z","avatar_url":"https://github.com/all-my-frontend-mini-projects.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Time Tracking Dashboard\n\n## Track your time efficiently and improve your productivity with the Time Tracking Dashboard. Switch between daily, weekly, and monthly stats effortlessly.\n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n- [Acknowledgments](#acknowledgments)\n\n## Overview\n\n### The challenge\n\nTrack your time efficiently and improve your productivity with the Time Tracking Dashboard. Switch between daily, weekly, and monthly stats effortlessly.\n\nUsers should be able to:\n\n- View the optimal layout for the component depending on their device's screen size\n- See the social media share links when they click the share icon\n\n### Screenshot\n\n![Design Preview](./design/active-states.jpg)\n\n### Links\n\n- Solution URL: [GitHub Repository](https://github.com/SartHak-0-Sach/Time-tracking-dashboard_frontend_project)\n- Live Site URL: [Live Site](https://time-tracking-dashboard-comp.netlify.app/)\n\n## My process\n\n### Built with\n\n- HTML5\n- CSS3\n- JavaScript\n\nYou will find all the required assets in the `/design` folder. The assets are already optimized.\n\nThere is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts.\n\n### What I learned\n\n- Implementing interactive features such as toggling between daily, weekly, and monthly stats\n- Designing a user-friendly interface with hover states for interactive elements\n- Enhancing accessibility and usability for seamless navigation and interaction\n\n```js\n// Fetch and parse the JSON data\nfetch(\"data.json\")\n  .then((response) =\u003e response.json())\n  .then((data) =\u003e {\n    // Loop through the cards and update the data\n    cards.forEach((card, index) =\u003e {\n      const title = card.querySelector(\".card-type\");\n      const current = card.querySelector(\".current-hours\");\n      const previous = card.querySelector(\".previous-hours\");\n\n      // Initial data display\n      title.textContent = data[index].title;\n      current.textContent = data[index].timeframes.weekly.current + \"hrs\";\n      previous.textContent =\n        \"Last week - \" + data[index].timeframes.weekly.previous + \"hrs\";\n\n      // Link event listeners\n      links.forEach((link) =\u003e {\n        link.addEventListener(\"click\", (e) =\u003e {\n          e.preventDefault(); // Prevent the default link behavior\n\n          const timeframe = link.getAttribute(\"data-timeframe\");\n          current.textContent =\n            data[index].timeframes[timeframe].current + \"hrs\";\n          const reducedName = timeframe.replace(/ly$/i, \"\");\n          const goodName = reducedName.replace(/i/i, \"y\");\n\n          previous.textContent =\n            \"Last \" +\n            goodName +\n            \" - \" +\n            data[index].timeframes[timeframe].previous +\n            \"hrs\";\n          links.forEach((link) =\u003e link.classList.remove(\"activated\"));\n          link.classList.add(\"activated\");\n        });\n      });\n    });\n  })\n  .catch((error) =\u003e console.error(error));\n```\n\n### Continued development\n\n- Adding additional features such as customizable time tracking categories and goal setting functionality\n- Improving performance and optimization for smoother user experience\n- Enhancing responsive design for consistent experience across devices\n\nThe continuously learning journey of a programmer never ends. This project made me realize that there are many concepts that I need to work upon including fundamentals like flex-box and its properties, to more complex concepts like working with fetch and async await in javascript. These areas are some that I think I need to work more upon in the upcoming future as they highlight some of the most significant regions of web development that are important for every developer to know of. \n\nThese key points mentioned here will help me grow accountable and consistent towards improving at writing good quality code and be a successful full stack developer one day.\n\n### Useful resources\n\n- [MDN Web Docs](https://developer.mozilla.org/) - Comprehensive documentation for web development technologies\n- [CSS-Tricks](https://css-tricks.com/) - Helpful tips and tricks for CSS and web design\n- [JavaScript.info](https://javascript.info/) - In-depth tutorials and resources for learning JavaScript\n- [Harkirat Singh course notes](https://github.com/SartHak-0-Sach/harkirat-singh-course_code_and_notes) - I have added notes of all lectures along with code and lecture insights of all weeks along with bonus lectures to help you all as much as I can.\n- [My development code and notes](https://github.com/SartHak-0-Sach/cwh-web-dev-playlist_code_and_notes) - These are my notes that I made while working on my development skills in initial days and did these courses. Make sure to star the repository if you like it.✨💫\n- [MDN documentation hover state for CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/:hover) - This is an amazing article which helped me finally understand hover states. I'd recommend it to anyone still learning this concept.\n\n## Author\n\n\u003cb\u003e\u003cstrong\u003eSarthak Sachdev\u003c/strong\u003e\u003c/b\u003e\n- Website - [Sarthak Sachdev](https://itsmesarthak.netlify.app/)\n- LeetCode - [@sarthak_sachdev](https://leetcode.com/u/sarthak_sachdev/)\n- Twitter - [@sarthak_sach69](https://www.twitter.com/sarthak_sach69)\n\n## Acknowledgments\n\nI feel like the solutions provided on the website and the continuous doubt solving by industry experts on discord for free is something that is unmatched by anyone else and need to be acknowledged for their efforts in improving me as a developer by suggesting the best practices in your respective tech stack.\n\n## Got feedback for me?\n\nI love receiving feedback! I am always looking to improve my code and take up new innovative ideas to work upon. So if you have anything you'd like to mention, please email 'hi' at saarsaach30[at]gmail[dot]com.\n\nIf you liked this project make sure to spread the word and share it with all your friends.\n\n**Track your time efficiently and improve your productivity with the Time Tracking Dashboard.** ⏰🚀✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fall-my-frontend-mini-projects%2Ftime-tracking-dashboard_frontend_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fall-my-frontend-mini-projects%2Ftime-tracking-dashboard_frontend_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fall-my-frontend-mini-projects%2Ftime-tracking-dashboard_frontend_project/lists"}