Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
trparky committed Jul 28, 2024
1 parent b0d02dc commit 81b0e29
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
<html>
<head>
<title>Tom's GitHub Page</title>
</head>
<body>
This is a placeholder for my GitHub profile. My main site is located at <a href="https://www.toms-world.org">https://www.toms-world.org</a>.
</body>
</html>
<head>
<title>Tom's GitHub Page</title>
<script>
setInterval(function() {
var div = document.querySelector("#counter");
var count = div.textContent * 1 - 1;

if (count > -1) {
div.textContent = count;
if (count <= 0) window.location.replace("https://www.toms-world.org");
}
}, 1000);
</script>
</head>
<body>
<h1>This is a placeholder for my GitHub profile. My main site is located at <a href="https://www.toms-world.org">https://www.toms-world.org</a></h1>
<h2>Redirecting in... <span id="counter">20</span> seconds.</h2>
</body>
</html>

0 comments on commit 81b0e29

Please sign in to comment.