0
What is the problem here?
So I decided to create a code editor in web playground but it gives me a lot of error why is that? https://code.sololearn.com/Wvo77y14Yd1J/?ref=app
1 Réponse
+ 4
//Here you go ,
your wrote innerTEXT() ❌ it is innerTEXT ✔️only and input has a value attribute as it stores it's text in value you need to take value document.getElementById("code").value ;
https://code.sololearn.com/Wk0tO5phIQUy/?ref=app