-
Notifications
You must be signed in to change notification settings - Fork 0
/
superTrunfo-P2.html
37 lines (36 loc) · 1.77 KB
/
superTrunfo-P2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!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">
<title>Imersão Dev - Aula 08</title>
<link rel="stylesheet" type="text/css" href="./superTrunfo-P2.css">
</head>
<body>
<div class="container">
<img src="https://www.alura.com.br/assets/img/imersoes/dev-2021/logo-imersao-super-trunfo.png" class="page-logo"
alt="">
<h1 class="page-title">Super Trunfo</h1>
<button onclick="sortearCarta()" id="btnSortear">Sortear carta</button>
<form id="form">
<h2>Escolha o seu atributo</h2>
<div class="wrapper"><div>
<div id="carta-jogador">
<img src="https://www.alura.com.br/assets/img/imersoes/dev-2021/card-super-trunfo-transparent-ajustado.png"
style=" width: inherit; height: inherit; position: absolute;">
<h3></h3>
</div>
</div>
<div>
<div id="carta-maquina" class="carta"><img src="https://www.alura.com.br/assets/img/imersoes/dev-2021/card-super-trunfo-transparent-ajustado.png"
style=" width: inherit; height: inherit; position: absolute;"></div>
</div>
</div>
<button class="button-jogar" type="button" id="btnJogar" onclick="jogar()" disabled="false">Jogar</button>
<div id="resultado"></div>
</form>
</div>
<script src="./superTrunfo-P2.js"></script>
</body>
</html>