-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
69 lines (63 loc) · 1.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body {
text-align: center;
font-family: Helvetica Neue, sans-serif;
background-color: green;
font-size: large;
font-weight: bold;
}
#app, #next-card {
display: flex;
justify-content: center;
align-items: center;
}
#next-card {
margin: 0 auto;
max-width: 150px;
max-height: 250px;
border: 1px solid #222;
}
#cash {
margin: 15px auto;
}
.card {
display: flex;
justify-content: center;
align-items: center;
margin: 10px;
max-width: 150px;
max-height: 250px;
}
input, button {
margin: 20px auto;
width: 100px;
padding: 10px 15px;
}
</style>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<h1>Acey Ducey</h1>
<a href="rules.html">Rules</a>
<div id="cash"></div>
<button class="restart">Restart Game</button>
<div id="app">
<img class="first-card card" src="" alt="">
<img class="second-card card" src="" alt="">
</div>
<img id="next-card" src="cards/back_of_card.png" alt="">
<input type="number" class="bet-amount" value="0" min="0" max="100">
<button class="bet-button">Bet</button> <button class="no-bet-button">No Bet</button>
<script src="https://cdn.jsdelivr.net/npm/js-confetti@latest/dist/js-confetti.browser.js"></script>
<script type="module" src="./dist/cards.js"></script>
<script type="module" src="./dist/index.js"></script>
</body>
</html>