This is a simple project that demonstrates how to create a toggle button to switch a bulb on and off using HTML, CSS, JavaScript, and Bootstrap.
This project provides a basic example of how to create a toggle button to turn a virtual bulb on and off. The toggle button changes the color of the bulb and updates its state accordingly.
- HTML
- CSS
- JavaScript
- Bootstrap
-
Clone the repository or download the source code.
-
Open
index.html
in a web browser to see the project in action.
-
Open the
index.html
file in a web browser. -
Click the toggle button to switch the bulb on and off. The bulb's color will change based on its state.
This project is licensed under the MIT License. Feel free to modify and distribute the code as needed.