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.
Note: Delete this note and update the table of contents based on what sections you keep.
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: Timetracking App Source
- Live Site URL: Live site for TT App
Decided early on to generate/populate the activity-cards HTML elements programmatically using the supplied data from JSON file. A "hardcoded" approach with markup in the HTML + populating merely data might have been an easier solution.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Async Fetch
- Learned how to create and append HTML elements through Javascript code.
- MDN article on data attributes - How to use data attributes
- MDN article on appending elements to parent element - Appending HTML elements
- Frontend Mentor - @travis