about this project

This project features a digital light switch that flips between two bold background colors: green and red. The goal was simple: create a smooth interaction using HTML, CSS, and JavaScript. The switch responds on click, shifting the background and highlighting the active color with a matching glow.


What began as a quick test project to stretch my coding skills turned into a fun, well-finished piece that blends visual design with straightforward front-end logic. HTML forms the structure, CSS handles the styling and motion, and JavaScript manages the real-time color changes for smooth, responsive feedback.

This is a perfect example of how even a simple UI element can feel engaging when design and code work in sync.