inhabitor/index.html
2023-12-23 11:23:33 -05:00

32 lines
860 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Inhabitor - The Habitat Inspector</title>
<script src="index.js"></script>
<script>
function showErrors() {
document.getElementById('errors').style.display = 'block'
}
const displayEverything = async () => {
await displayList("heads.json", "heads")
await displayList("props.json", "props")
}
displayEverything()
</script>
</head>
<body>
<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>
</body>
</html>