-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (72 loc) · 2.01 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Strange Card Game</title>
<style>
button {
outline: black solid 2px;
background-color: #aba79d;
hover { color: #00FF00; }
border: none;
padding: 2px 5px;
display: inline-block;
font-size: 15px;
}
body {
padding: 25px;
background-color: #95a396;
color: black;
font-size: 20px;
}
#cardList, #equippedCards {
border: 3px solid black;
}
div.scroll {
margin:4px, 4px;
padding:4px;
background-color: #616060;
width: 500px;
height: 350px;
overflow-x: hidden;
overflow-x: auto;
text-align:justify;
}
.cardText {
position: absolute;
right: 150px;
float: left;
overflow: hidden;
}
#main {
border: 1px solid red;
}
</style>
</head>
<body>
<div class="cardText">
<div id = "maxCards">
Equipped cards (1 max):
</div>
<div id="equippedCards" class="scroll"></div>
<br />
<div>
Cards:
</div>
<div id="cardList" class="scroll"></div>
<br />
</div>
<div id="money">
Money: 0.00 (0.00/s)
</div>
<br />
<button type="button" onclick="getCard()" id="getCard">Get card</button>
<br />
<button type="button" onclick="upgrade('cardAmount')" id="cardAmount">Upgrade card amount (100.00$)</button>
<button type="button" onclick="upgrade('luck')" id="luck">Upgrade luck (1000.00$)</button>
<script src="scripts/game.js"></script>
<script src="scripts/cardLogic.js"></script>
<script src="scripts/randomName.js"></script>
<script src="scripts/save.js"></script>
</body>
</html>