Skip to content

Commit e9f922d

Browse files
authored
Update history.html
1 parent b255a76 commit e9f922d

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

Wiki/history.html

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,67 @@
1+
<html>
2+
<head>
3+
<title>Wiki History | Coding Hut Website</title>
4+
5+
<nav class="menu-container">
6+
<!-- burger menu -->
7+
<input type="checkbox" aria-label="Toggle menu" />
8+
<span></span>
9+
<span></span>
10+
<span></span>
11+
12+
<!-- logo -->
13+
<a href="scratch-coding-hut.github.io" class="menu-logo">
14+
<img src="https://i.postimg.cc/6qgPbyGH/temp-Image-BJ164c.avif" alt="My Awesome Website"/>
15+
</a>
16+
17+
<!-- menu items -->
18+
<div class="menu">
19+
<ul>
20+
<li>
21+
<a href="https://scratch-coding-hut.github.io">
22+
Home
23+
</a>
24+
</li>
25+
<li>
26+
<a href="https://scratch-coding-hut.github.io/about">
27+
About
28+
</a>
29+
</li>
30+
<li>
31+
<a href="https://scratch.mit.edu/discuss/topic/652178/">
32+
Scratch Forum Post
33+
</a>
34+
</li>
35+
<li>
36+
<a href="https://scratch-coding-hut.github.io/sitemaplinks">
37+
More...
38+
</a>
39+
</li>
40+
</ul>
41+
<ul>
42+
<li>
43+
<a href="https://scratch-coding-hut.github.io/account">
44+
My Account
45+
</a>
46+
</li>
47+
</ul>
48+
</div>
49+
</nav>
50+
</head>
51+
<body>
52+
<center> <h2>Wiki History</h2>
53+
<ul id="displayText">Loading History...<ul></center>
54+
55+
<script>
56+
window.onload = function() {
57+
const history = localStorage.getItem('history');
58+
if (savedText) {
59+
document.getElementById('displayText').textContent = history;
60+
} else {
61+
document.getElementById('displayText').textContent = 'No history found in LocalStorage.';
62+
}
63+
};
64+
</script>
65+
</body>
66+
</html>
167

0 commit comments

Comments
 (0)