Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doaaosamak/lamp-frontend

This repository contains the code for a smart lamp that I designed. The lamp can be controlled through a web interface to toggle its power state (on/off) using JavaScript. This project demonstrates the application of basic JavaScript toggling functionality to control hardware devices.
https://github.com/doaaosamak/lamp-frontend

css html js lamp

Last synced: 1 day ago
JSON representation

This repository contains the code for a smart lamp that I designed. The lamp can be controlled through a web interface to toggle its power state (on/off) using JavaScript. This project demonstrates the application of basic JavaScript toggling functionality to control hardware devices.

Awesome Lists containing this project

README

        

# πŸ’‘light-Frontend
## βœ… How It Works
The lamp is connected to a basic server that listens for the toggle command from the web interface. When the toggle switch in the UI is flipped, a JavaScript function sends a command to the server, which then turns the lamp on or off accordingly.
This repository contains the code for a smart lamp that I designed. The lamp can be controlled through a web interface to toggle its power state (on/off) using JavaScript. This project demonstrates the application of basic JavaScript toggling functionality to control hardware devices.


![mobile (1)](https://github.com/DoaaOsamaK/light-Frontend/assets/147305995/acb4839b-ebd0-4fb7-88de-71bb6f573199)


## βœ… Features
- **Toggle Switch**: A simple UI toggle switch to turn the lamp on and off.
- **Responsive Design**: The web interface is responsive and can be accessed from various devices.

## βœ… Technologies Used
- **HTML**: For structuring the web interface.
- **CSS**: For styling the web interface.
- **JavaScript**: For the toggle functionality.

## βœ… Demo: https://doaaosamak.github.io/Lamp-Frontend/

## βœ… Contact
If you have any questions, feel free to reach out to me at [email protected].