added white
This commit is contained in:
parent
c44678e7ab
commit
1ef4fda39b
4
a.html
4
a.html
@ -14,6 +14,9 @@
|
|||||||
#blue {
|
#blue {
|
||||||
background-color: blue;
|
background-color: blue;
|
||||||
}
|
}
|
||||||
|
#white{
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
button {
|
button {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
@ -27,6 +30,7 @@
|
|||||||
<button id="green" onclick=setColor('green')>green</button>
|
<button id="green" onclick=setColor('green')>green</button>
|
||||||
<button id="red"onclick=setColor('red')> red</button>
|
<button id="red"onclick=setColor('red')> red</button>
|
||||||
<button id="blue"onclick=setColor('blue')>blue</button>
|
<button id="blue"onclick=setColor('blue')>blue</button>
|
||||||
|
<button id="white"onclick=setColor('white')>white</button>
|
||||||
<button onclick=randomColor()>random</button>
|
<button onclick=randomColor()>random</button>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user