0
How can i fix this code, that the background color will change to the inouted color
how can i make that the backgroundcolor changes to the var x? function myfun() { var x = alert=prompt("Type in the color you want for the background ;D"); document.getElementById("html").style.backgroundColor= (x); }
2 ответов
+ 2
here is an example:
https://code.sololearn.com/Wgb194r2B48x/?ref=app
+ 1
Thank you it works great