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: time tracking dashboard solution URL here
- Live Site URL: time tracking dashboard site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- JavaScript
But created with ❤️
This project helped me deepen my understanding of:
- Using
fetch()to load JSON data and handling the response with.then()and.catch() - Dynamically generating HTML with template literals and
innerHTML - Managing state (the current filter) and updating the UI when it changes
- Using
classListto toggle active states on buttons
I am taking part in My learning path on Frontend mentor.
- How to use promises - This article on promises by MDN uses fetch heavily in the examples and should provide a good overview of how to handle fetch requests in your projects.
- Making network requests with JavaScript - This is an in-depth look at network requests and the problem they solve. There's a lot of information here, so start with the first couple of sections.
- Working with JSON - This article by MDN explains JSON. It also has an example of fetching data with fetch and populating a webpage with the response.
I used GitHub Copilot. Mostly I used for debugging and for brainstorming. It is very handy tool. It let me to writte shorter, cleaner code.
- Thank you to all Frontend Mentor team for opportunity to try, practice, train yourself in different level challenges and gain invaluable experience.
- Thank you to all supporters to inspire me to keep improving and coding.