inhabitor/index.html

32 lines
860 B
HTML
Raw Normal View History

2023-12-22 19:59:08 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Inhabitor - The Habitat Inspector</title>
<script src="index.js"></script>
2023-12-23 02:32:31 +00:00
<script>
function showErrors() {
document.getElementById('errors').style.display = 'block'
}
2023-12-23 16:23:33 +00:00
const displayEverything = async () => {
await displayList("heads.json", "heads")
await displayList("props.json", "props")
}
displayEverything()
2023-12-23 02:32:31 +00:00
</script>
2023-12-22 19:59:08 +00:00
</head>
<body>
2023-12-23 02:32:31 +00:00
<div id="heads">
<h1>The Hall Of Heads</h1>
</div>
<div id="props">
<h1>Props</h1>
</div>
<a href="javascript:showErrors();">
Show errors
</a>
<div id="errors" style="display: none"></div>
2023-12-22 19:59:08 +00:00
</body>
</html>