How to make this clock ⏲️ work properly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to make this clock ⏲️ work properly?

I've been trying to figure out how to make a timer clock and write few codes, but console found some bug 🐛 in my code. I don't have any experience in coding. Please help me solve this. https://code.sololearn.com/W97n1YEAk1GD/?ref=app

21st May 2020, 2:34 AM
rakesh rajak
rakesh rajak - avatar
2 Answers
0
David D. I liked your code, it's cleaner than mine. But you misunderstood what I was saying. I want to make a countdown timer like most of the e-commerce websites do, to show customer time remaining at the ending of the deal. But for that purpose, I want to just edit my HTML field in the post editor and set a deadline. No one else can change it and work for different countries' visitors having different time zones. And also it should work on other posts.
21st May 2020, 6:35 AM
rakesh rajak
rakesh rajak - avatar
0
Maybe you should use server countdown timer, which run a single timer for all the clients. https://code.sololearn.com/W3AQzYF5QDIQ/?ref=app
21st May 2020, 7:43 AM
Calviղ
Calviղ - avatar