Skip to content

MarceloAdan73/Clock-Js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Digital Clock created with html, css and javascript, the latter defines a function called "updateTime" that updates the time displayed in the App, obtains the current date and time using the "Date" object, and then extracts the hour, minute , second, day of month, month and year, also creates arrays for the names of the days of the week and months. the function then updates various HTML elements on the page with the current date and time, and formats the time in a 12-hour format with an AM/PM indicator

imagen del proyecto

  • For the correct operation of the clock, the jQuery library included with a link in the head is used to update the application in real time.

🔗 See in operation