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>
|
2024-01-03 20:56:57 +00:00
|
|
|
<style>
|
2024-01-09 17:53:33 +00:00
|
|
|
.choose {
|
|
|
|
margin: 20px;
|
2024-01-03 20:56:57 +00:00
|
|
|
padding: 20px;
|
|
|
|
border: 2px solid #000;
|
|
|
|
border-radius: 35px;
|
|
|
|
background-color: #444;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: xx-large;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2024-01-09 18:13:16 +00:00
|
|
|
#result {
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
font-size: larger;
|
|
|
|
}
|
2024-01-03 20:56:57 +00:00
|
|
|
</style>
|
2024-01-03 18:34:04 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-01-09 17:53:33 +00:00
|
|
|
<button class="choose" value="rock">Rock</button>
|
|
|
|
<button class="choose" value="paper">Paper</button>
|
|
|
|
<button class="choose" value="scissors">Scissors</button>
|
2024-01-09 18:13:16 +00:00
|
|
|
<div id="result"></div>
|
2024-01-03 18:34:04 +00:00
|
|
|
<script src="index.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|