Skip to content
Permalink
Browse files
one button for turning on and off light.
  • Loading branch information
kailad committed Oct 29, 2019
1 parent 413ccf9 commit 973afb04b1f972bb2aab71256ebb71e977e9236d
Showing 1 changed file with 5 additions and 2 deletions.
@@ -1,4 +1,7 @@
<h1>Welcome to the Lights Page!</h1>
<form action = "/ExteriorLightOn" method = "POST">
<input type = "submit" value = "Exterior Light" onclick="alert('The Light is on');" class = "btn btn-dark btn-lg">
<form action = "/ExteriorLightOnOff" method = "POST">
<input type = "submit" value = "Exterior Light Switch" onclick="alert('The Light is on');" class = "btn btn-dark btn-lg">
</form>
<form action = "/InteriorLightOnOff" method = "POST">
<input type = "submit" value = "Interior Light Switch" onclick="alert('The Light is off');" class = "btn btn-dark btn-lg">
</form>

0 comments on commit 973afb0

Please sign in to comment.