asdf
This commit is contained in:
parent
6d05ddb402
commit
58d6c9384d
4
a.html
4
a.html
@ -20,6 +20,9 @@
|
|||||||
#purple{
|
#purple{
|
||||||
background-color: purple;
|
background-color: purple;
|
||||||
}
|
}
|
||||||
|
#teal{
|
||||||
|
background-color: teal;
|
||||||
|
}
|
||||||
button {
|
button {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
@ -35,6 +38,7 @@
|
|||||||
<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 id="white"onclick=setColor('white')>white</button>
|
||||||
<button id="purple"onclick=setColor('purple')>purple</button>
|
<button id="purple"onclick=setColor('purple')>purple</button>
|
||||||
|
<button id="teal"onclick=setColor('teal')>teal</button>
|
||||||
<button onclick=randomColor()>random</button>
|
<button onclick=randomColor()>random</button>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user