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 Answer
+ 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