Mahmoud Santos
Published in : 2022-02-22
How to Set two background-color in the javascript by setInterval( )?
let x = document.body; x.style.backgroundColor = x.style.backgroundColor === "yellow" ? "pink": "yellow";
Join our community and get the chance to solve your code issues & share your opinion with us
Sign up Now
Yasen Sayed Date : 2022-02-22
Best answers
8
Best answers
8
Try this approach,