-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
21 lines (21 loc) · 888 Bytes
/
Copy pathindex.html
File metadata and controls
21 lines (21 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="index.js"></script>
<link href="index.css" rel="stylesheet" type="text/css">
<title>Stone, Paper, Scissors</title>
</head>
<body class="body">
<h1 class="title">1,2,3 Pedra, paper o tisora...</h1>
<h3 class="title"> Juguem a pedra, paper o tisora:</br>1. Pedra</br>2. Paper</br>3. Tisora</h3>
<label class="title" for="number">Tria (1-3):</label>
<input class="input__number" id="number" name="number" type="number" placeholder="0">
<button class="button" onclick="startGame()">Juguem</button>
<p class="result" id="result-pc"></p>
<p class="result" id="result-user"></p>
<h2 class="result" id="result-winner"></h2>
</body>
</html>