Color Flipper

This commit is contained in:
Jonathan Branan 2024-08-27 22:04:05 -05:00
commit 9f3ebf9afb
2 changed files with 32 additions and 0 deletions

32
a.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color Flipper</title>
<style>
#green {
background-color: green;
}
#red {
background-color: red;
}
#blue {
background-color: blue;
}
button {
border-radius: 5px;
width: 100px;
margin: 5px;
}
</style>
</head>
<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>
</body>
</html>

0
a.js Normal file
View File