My function wont run the second condition – Html
My code wont run the second condition if the value of select is 1 //Not pasted js code function changeHref() { var select = 0; const link = document.querySelector("link"); if (select === 0){ link.href="css/styleOne.css"; select = 1; } else if…