-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 1.4 KB
/
index.html
File metadata and controls
35 lines (35 loc) · 1.4 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nothing Incremental</title>
<!--load css-->
<link rel="stylesheet" href="style/main.css">
<link rel="stylesheet" href="style/tabs.css">
</head>
<body>
<!--tabs-->
<p id="thingCurrent" class="text-center">Nothing: 0</p>
<div class="tab">
<button class="tablinks btn-center" onclick="openTab(event, 'main')" id="defaultOpen">Main</button>
<button class="tablinks btn-center" onclick="openTab(event, 'setting')">Setting</button>
</div>
<!--main tab-->
<div id="main" class="tabcontent main">
<button onclick="getThing()">Get things</button>
<div></div>
<button onclick="buytpc()" id="tpcUpdate">Things gain upgrade: level 0<br>(Cost: 5, + 1 per level)</button>
<div></div>
<button onclick="buytpsec()" id="tpsecUpdate">Gain 0 things per second<br>(Cost: 10, + 1 per level)</button>
</div>
<!--setting tab-->
<div id="setting" class="tabcontent main">
<p class="text-center">Nothing.</p>
</div>
<!--load js-->
<script src="js/main.js" charset="utf-8" type="text/javascript"></script>
<script src="js/tabs.js" charset="utf-8" type="text/javascript"></script>
<script src="js/features/thing.js" charset="utf-8" type="text/javascript"></script>
</body>
</html>