Skip to content

Commit

Permalink
more js issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HastDu authored Oct 24, 2024
1 parent 12baddb commit ad99542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const day = now.getDay(); // returns a number representing the day of the week,
const hours = now.getHours();
const minutes = now.getMinutes();

while(true) {
while(true == true) {
document.getElementById("period").innerHTML= `Today is day ${day} and the time is ${hours}:${minutes}.`;
}

0 comments on commit ad99542

Please sign in to comment.