A responsive dashboard layout featuring interactive timeframe toggles π±οΈ, seamless CSS transitions β¨, and dynamic data fetching from a local JSON file ποΈ.
This project was developed as a high-fidelity implementation of a Figma design π¨ focusing on creating a seamless and fully responsive layout across mobile π±, tablet π², and desktop π» environments.
Key focus areas included building a CSS Grid architecture ποΈ to manage layout shifts, implementing adaptive styles using a mobile-first approach π, and employing JavaScript Fetch API β‘ to dynamically populate UI components with data from a local JSON file π.
| State ποΈ | Mobile π± | Tablet π² | Desktop π» |
|---|---|---|---|
| βοΈ Daily | |||
| ποΈ Weekly | |||
| π Monthly |
The challenge was to build out this dashboard π and get it looking as close to the design as possible.
-
π Switch between viewing Daily, Weekly, and Monthly stats.
-
π± View the optimal layout for the interface depending on their device's screen size.
-
π±οΈ See hover and focus states for all interactive elements on the page.
-
β‘ Dynamic Data Rendering: Utilizes the Fetch API to seamlessly inject statistics from a local JSON file directly into the DOM.
-
β±οΈ Interactive Timeframes: Users can toggle between Daily, Weekly, and Monthly views with instantly updating data and UI states.
-
π Responsive Architecture: Employs CSS Grid and media queries to create a fluid layout that adapts perfectly to mobile, tablet, and desktop screens.
-
β¨ Polished User Experience: Features smooth CSS background transitions on hover and distinct active states for navigation buttons.
Christian Diaz
- πΌ LinkedIn - Christian Diaz
- πΎ Frontend Mentor - @chrisdzasc
- π§© Frontend Mentor Solution - β±οΈ Time Tracking Dashboard | CSS Grid & Fetch API β‘