Update public/index.html

This commit is contained in:
Octo Andri 2022-04-17 17:25:40 +00:00
parent c9ad067ef9
commit 68ca55cd48

View File

@ -35,10 +35,10 @@
<br><br><br>
</div>
<script>
var CurrentAgeText = document.getElementById("CurrentAge").textContent;
var CurrentAgeText = document.getElementById("CurrentAge").innerHTML;
const CurrentAgeRefresh = 50;
setInterval(
function() {CurrentAgeText = "Currently" + UnixToYears() + ".."},
function() {CurrentAgeText = "Currently " + UnixToYears() + ".."},
CurrentAgeRefresh);
</script>
</body>