diff --git a/app.js b/app.js new file mode 100644 index 0000000..a5fcc6b --- /dev/null +++ b/app.js @@ -0,0 +1,26 @@ +let countDownDate = new Date("Nov 17, 2023 21:00:00"); + +let x = setInterval(function () { + let now = new Date().getTime(); + + let spentTime = now - countDownDate; + + let day = Math.floor(spentTime / (1000 * 60 * 60 * 24)); + let hour = Math.floor((spentTime % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); + let minute = Math.floor((spentTime % (1000 * 60 * 60)) / (1000 * 60)); + let second = Math.floor((spentTime % (1000 * 60)) / 1000); + let millisecond = Math.floor(spentTime % 1000); + + document.getElementById("time").innerHTML = + "Time Spent: " + + day + + "d " + + hour + + "h " + + minute + + "m " + + second + + "s " + + millisecond + + "ms "; +}); diff --git a/detail.css b/detail.css index 5173ad7..c73db61 100644 --- a/detail.css +++ b/detail.css @@ -4,8 +4,8 @@ --black: #373737; --sect1: #ff9900; --sect2: #2196f3; - --sect3: #e63232; - --sect4: #8bc34a; + --sect3: #8bc34a; + --sect4: #e63232; --sect5: #8946ff; } diff --git a/index.html b/index.html index d2a2618..3313f4f 100644 --- a/index.html +++ b/index.html @@ -6,13 +6,14 @@ Who I Am +
@@ -98,8 +99,8 @@

SKILLS

-

Empty-1

-

Fill in here mehmet

+

My time working on
Front-end
Development

+