0
Hello i wrote some js codes on my laptop about a button that changes backgroundColor it works on mylaptop but noton phone pls y
The functions i write with js works well on my laptop but refused to work with my phone .😟
3 ответов
+ 1
Ok thanks it on color buttons i was working on recently
0
Could you share your code so we can help you?
0
const btn= document.querySelector(".btn");
btn.onclick = changeBackgroud;
function changeBackground(){
document.querySelector("body").style.backgroundColor = "royalblue";
}