Day 2: Interactive Dark Mode Dashboard πThe second project in my 7-Day Web Development Challenge.
This installment focused on moving from a static layout to a functional, user-centric UI by implementing a theme-switching system and a visual progress tracker.π OverviewThe Goal for Day 2 was to build a functional dashboard that adapts to user preferences. The core feature is a Dark Mode toggle that changes the entire UI color palette dynamically using CSS variables and JavaScript.Key FeaturesDynamic Theme Toggling: Seamless switching between Light and Dark modes.Visual Progress Tracker: A custom-styled bar showing 2/7 Days Complete (
βββ index.html # Dashboard UI & Progress Tracker βββ style.css # Theming logic & Layout βββ script.js # Dark mode toggle functionality π Learning OutcomesMastered the implementation of CSS Custom Properties for scalable theming.Successfully integrated a visual progress indicator using relative widths.Refined DOM manipulation skills by targeting data attributes for theme switching.