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

29th Dec 2018, 9:39 PM
Matheus
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
29th Dec 2018, 10:04 PM
Naty
+ 1
You're welcome!
30th Dec 2018, 12:00 AM
Naty