added white

This commit is contained in:
Jonathan Branan 2024-08-27 22:29:54 -05:00
parent c44678e7ab
commit 1ef4fda39b

4
a.html
View File

@ -14,6 +14,9 @@
#blue {
background-color: blue;
}
#white{
background-color: white;
}
button {
border-radius: 5px;
width: 100px;
@ -27,6 +30,7 @@
<button id="green" onclick=setColor('green')>green</button>
<button id="red"onclick=setColor('red')> red</button>
<button id="blue"onclick=setColor('blue')>blue</button>
<button id="white"onclick=setColor('white')>white</button>
<button onclick=randomColor()>random</button>
</body>
</html>