Archived
Template
2
0

Update script.js

This commit is contained in:
Denys Konovalov 2022-10-09 10:31:19 +00:00
parent 68e28f4cc2
commit a94d81e563

@ -3,7 +3,7 @@ const hoursEl =document.getElementById ('hours');
const minutesEl =document.getElementById ('minutes'); const minutesEl =document.getElementById ('minutes');
const secondsEl =document.getElementById ('seconds'); const secondsEl =document.getElementById ('seconds');
const newYears = '1 Jan 2023'; const newYears = '22 Oct 2022';
function countdown() { function countdown() {
const newYearsDate = new Date(newYears); const newYearsDate = new Date(newYears);