()
| 7 | var rdmbtn=document.getElementById("random"); |
| 8 | |
| 9 | function setGradient(){ |
| 10 | body.style.background="linear-gradient(to right, "+color1.value+", "+ color2.value+")"; |
| 11 | css.textContent=body.style.background+";"; |
| 12 | |
| 13 | } |
| 14 | function generateColor(){ |
| 15 | var randomColor1=Math.floor(Math.random()*16777215).toString(16); |
| 16 | var randomColor2=Math.floor(Math.random()*16777215).toString(16); |
nothing calls this directly
no outgoing calls
no test coverage detected