Skip to content

boniface193/javaScriptClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

javaScriptClock

A real time clock created with javascript, This code defines a showTime function that gets the current time using the Date object and formats it into a string. It then sets the innerText of the HTML element with ID "clock" to the formatted time. Finally, it sets up an interval to call showTime every second, which updates the clock display in real-time.

About

A real time clock created with javascript, This code defines a showTime function that gets the current time using the Date object and formats it into a string.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published