Skip to content

DalaScript/light-and-dark-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light & Dark Mode | ZTM JS Web Projects Course

Project 5/20

🌓 A responsive single-page website that allows users to switch between light and dark themes dynamically, with visual transitions and themed illustrations.


📚 Table of Contents


🔎 Overview

📸 Screenshot

Live Preview Screenshot

🔗 Links

📌 Features

  • ✅ Toggle between light and dark themes
  • ✅ Navigation and content section adapts to selected theme
  • ✅ Images switch dynamically to match the theme
  • ✅ Theme preference saved in localStorage
  • ✅ Stylish animated toggle switch

🧠 My Process

🛠️ Built with

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • LocalStorage

🎓 What I Learned

  • How to implement dark/light theme toggling using JavaScript
  • How to store user preferences with localStorage
  • Dynamically changing images and styles based on theme
  • Working with CSS variables for easy theme management

🚀 For me, this project was more about practice and gaining additional experience,
rather than learning something entirely new.

👨‍💻 Since I’m not a beginner and already familiar with these technologies,
I approached it with confidence — and still, I truly enjoyed working on it.

🎯 Overall, I consider this a very valuable and enjoyable experience.

🔙 Previous Project

🔜 Next Project

🗃️ Useful resources


👤 Author

🌐 Connect with Me

💻 Coding Profiles

🙌 Thanks for checking out my project! More coming soon. Stay tuned 🚀