added white
This commit is contained in:
parent
c44678e7ab
commit
1ef4fda39b
4
a.html
4
a.html
@ -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>
|
Loading…
x
Reference in New Issue
Block a user