Jump to content

How do i mak a HTML Analog Clock? with css control

WillLTT

Hello! ?

Thanks for using your time to help me. ?

How do i make a HTML Analog Clock? with css control

 

Any help is greatly apprichiated ?

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Dujith said:

With just HTML you cant, you will need a script for that.

And how do you mean css control?

i want css sizing controls, location controls with css.

also could we you javascript for it? im unfortunatly unable to find a javascript that works with it

thanks for your time ?

Link to comment
Share on other sites

Link to post
Share on other sites

Tbh start with just displaying time in your chosen time zone. Just in plain text.

When you understand that, then make the analog clock. Otherwise you will have no clue what you did and wont be able to reproduce it.

 

Steps would be:

1. Display a text clock

2. Display a text clock with the ability to choose time zone

3. Change color of the text with css

 

From there you can work with a canvas and start to draw stuff with javascript. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×