I’d like to make a clock/callendar like in this webpage.
I do not know if this requires js in my html codes. But when I inspected the webpage the div-counter time, I was the ” and the time flashing in purple.
how do I make a clock/callendar just like that?
2
Answers
Yes, you need both HTML and Javascript for your functions to run with real-time date and time.
Here is an example:
Then you need to add javascript functions for their updation.
you need a setInterval function to make the clock live