Skip to content

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.

Notifications You must be signed in to change notification settings

DoaaOsamaK/Lamp-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

💡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)


✅ 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.

✅ Contact

If you have any questions, feel free to reach out to me at doaaosamakhalaf@gmail.com.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published