How do you make a clock? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do you make a clock?

I'm trying to learn clocks.

3rd Jan 2018, 2:23 AM
Jacquez Narbaez
Jacquez Narbaez - avatar
7 Answers
+ 2
HTML and CSS can make you a clock, but not one that updates with the time. JavaScript is the language you need to make it into a real clock. Here’s a guide if you need help along the way: https://www.elated.com/articles/creating-a-javascript-clock/
3rd Jan 2018, 2:35 AM
luciel
luciel - avatar
+ 3
a clock that displays the current time. I've been working with HTML and css. I haven't started Java yet.
3rd Jan 2018, 2:32 AM
Jacquez Narbaez
Jacquez Narbaez - avatar
+ 3
thanks!!!
3rd Jan 2018, 2:35 AM
Jacquez Narbaez
Jacquez Narbaez - avatar
3rd Jan 2018, 3:19 AM
Swarnab Das
Swarnab Das - avatar
+ 2
it works greatly, I like your analog feature but I would like to make a digital clock @Swarnab Das
3rd Jan 2018, 4:44 AM
Jacquez Narbaez
Jacquez Narbaez - avatar
+ 2
Swarnab Das explain how you got your code
3rd Jan 2018, 6:07 AM
Jacquez Narbaez
Jacquez Narbaez - avatar
+ 1
What kind of clock do you mean? Please explain more.
3rd Jan 2018, 2:26 AM
luciel
luciel - avatar