odin-rps/index.html

30 lines
797 B
HTML
Raw Normal View History

2024-01-03 18:34:04 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rock Paper Scissors</title>
<style>
.choose {
margin: 20px;
padding: 20px;
border: 2px solid #000;
border-radius: 35px;
background-color: #444;
color: #fff;
font-weight: 700;
font-size: xx-large;
cursor: pointer;
}
</style>
2024-01-03 18:34:04 +00:00
</head>
<body>
<button class="choose" value="rock">Rock</button>
<button class="choose" value="paper">Paper</button>
<button class="choose" value="scissors">Scissors</button>
<div id="result">
Result:
</div>
2024-01-03 18:34:04 +00:00
<script src="index.js"></script>
</body>
</html>