-
Notifications
You must be signed in to change notification settings - Fork 0
/
TerraText.html
37 lines (34 loc) · 1.52 KB
/
TerraText.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>
<head>
<script>window.onerror = function(message, source, lineno, colno, error) {
log(`${message} at line ${lineno}:${colno}`);
}</script>
<title>This is a website</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lugrasimo&display=swap" rel="stylesheet">
<link href="Wheelbarrow-styles.css" rel="stylesheet">
</head>
<body>
<h1 class="dungeonDraw header">TerraText</h1>
<div id="toolbar">
<button id="tb1" onclick="setMode(1)">Page 1</button>
<button id="tb2" onclick="setMode(2)">Page 2</button>
<button id="tb3" onclick="setMode(3)">Page 3</button>
<button id="tb4" onclick="setMode(4)">Page 4</button>
<button id="tb5" onclick="setMode(5)">Page 5</button>
<button id="tb6" onclick="setMode(6)">About</button>
<button id="tb1" onclick="reset()">reset</button>
<button onclick="save()">Save</button>
<button onclick="load()">Load</button>
<input id="import" type="file" onchange="importfile()" hidden>
<label id="lbl" for="import">load</label>
</div>
<div id="alert"></div>
<div id="wrt">
</div>
<div id="log"></div>
<script src="TerraText scripts.js"></script>
</body>
</html>