0

Why should we only use document.write() for debugging

In the lesson for JS we are told that document.write(); should really only be used for debugging, why is this?

7th Dec 2016, 7:46 PM
Steve
1 Réponse
+ 2
You should use DOM (innerHTML) to be more precise, it will be explained in the following lessons
7th Dec 2016, 7:51 PM
Nahuel
Nahuel - avatar