0
Button
How do I change the background color when I click a button. I put a link of my project here to understand better. https://code.sololearn.com/WKAwQ9Q3iT2i/?ref=app
2 Respostas
+ 3
You have to avoid the document.write() because that initialayzs the document
there is another way to insert text to the document (like innerHTML)
https://code.sololearn.com/W7CCrk38QiE6/?ref=app
+ 1
You're welcome!