Finished tool

This commit is contained in:
2024-08-27 22:25:20 -05:00
parent 9f3ebf9afb
commit c44678e7ab
2 changed files with 18 additions and 4 deletions

8
a.html
View File

@ -24,9 +24,9 @@
<body>
<h3>Color Flipper</h3>
<script src="a.js"></script>
<button id="green">green</button>
<button id="red">red</button>
<button id="blue">blue</button>
<button >random</button>
<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 onclick=randomColor()>random</button>
</body>
</html>