+ 1
JS Error (solved)
I'm using .innerHTML on JavaScript for a project, and I'm doing it in Sololearn, but the console puts an error reading "inner.HTML". Sololearn doesn't support it? I tried copying and pasting from MDN Web Docs, and appears the same error.
9 Réponses
+ 2
The main problem is file linking so write js code in to the html file then it will run definitely
+ 1
Done, thanks
+ 1
It doesnt say its unsupported. The #txt is null.
Just add the code inside document.onload function
0
code?
0
The same as the MDN Web Docs.
0
It still doesn't work with innerText
0
Let us see your code please
0
I put it already...