+ 1
Setting time for changing class in javascript~!?(please help)
Hi how can i set time for changing style i mean i need a javascript code which could change my class at night automatically and then change the class for morning? for iran,tehran time zone! for example for night mode which websites use , but automatically:) can anyone help?
3 Answers
+ 2
https://code.sololearn.com/WnLqMn9XJy7b/?ref=app
+ 2
Thanks guys Calvin & Visph :) it's worked!