diff --git a/README.md b/README.md index b1020e4..067379f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# start -my simple startpage +# start +my simple startpage diff --git a/assets/index.js b/assets/index.js index 7f040dc..c9366c8 100644 --- a/assets/index.js +++ b/assets/index.js @@ -11,4 +11,14 @@ titleChanger = (text, delay) => { }, delay); }; -titleChanger(["homepage", "made by misopog"], 2000); \ No newline at end of file +titleChanger(["startpage", "made by misopog", "misopog.xyz"], 2000); + + +window.onload = function() { + setInterval(function(){ + var date = new Date(); + var displayTime = date.toLocaleTimeString(); + + document.getElementById('clock').innerHTML = displayTime; + }, 1000); // 1000 milliseconds = 1 second +} diff --git a/index.html b/index.html index 6e8db46..7a88404 100644 --- a/index.html +++ b/index.html @@ -2,16 +2,16 @@ - homepage + startpage - +
-

homepage

-

just another boring homepage

+

startpage

+

the time is

homepage
+ - \ No newline at end of file