-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (68 loc) · 2.61 KB
/
index.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Super Trunfo - Imersão Dev</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<html>
<head>
<title>
Imersão Dev - Aula 08
</title>
</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>
<div class="players-cards">
<div class="player-info">
<div class="player-image">
<img src="img/han-solo.jpg" alt="Player Image">
</div>
<div class="player-status">
<p>Nome: Han Solo</p>
<p>Pontos: X</p>
</div>
</div>
<div class="bot-info">
<div class="bot-image">
<img src="img/boba-fett.jpg" alt="Bot Image">
</div>
<div class="bot-status">
<p>Nome: Boba Fett</p>
<p>Pontos: X</p>
</div>
</div>
</div>
<button onclick="sortearCarta()" id="btnSortear">Sortear cartas</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>
</body>
</html>
<!-- partial -->
<script src="./script.js"></script>
</body>
</html>