How to use "replaceChild" DOM of JavaScript multiple times on a single Element | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to use "replaceChild" DOM of JavaScript multiple times on a single Element

In my code of Changing the Time I had come across and unknown, unusual error when I try to update to live time using the replace child Event on a single HTMl element .... Can anyone fix my code or Give me a suggestion. I had used INNER HTML method to fix but I want to do Styling on it but unable to do with "innerHTML" so help my Code plzzzzzzz...... https://code.sololearn.com/WbIyR6n6O7Y7/?ref=app

23rd Feb 2020, 6:14 AM
Abhay
Abhay - avatar
1 Answer
23rd Feb 2020, 9:15 AM
Russ
Russ - avatar