If you have any crazy idea then please pull request...
const body = document.querySelector("body");
randomColor.addEventListener("click", () => {
let r = Math.floor(Math.random() * 256);
let g = Math.floor(Math.random() * 256);
let b = Math.floor(Math.random() * 256);
body.style.backgroundColor = `rgb(${r}, ${g}, ${b})`;
});
- Open Git Bash.
- Change the current working directory to the location where you want the cloned directory.
- Type
git clone https://github.com/Sagar-Sharma-7/background-color-changer.git
- Press Enter to create the clone of this repositary. `