<p>Click the button to add the "mystyle" class to DIV.</p>
<button onclick="myFunction()">Try it</button>
<p><strong>Note:</strong> The classList property is not supported in Internet Explorer 9 and earlier versions.</p>
<p id="myDIV">
I am a DIV element
</p>
<script>
link.href = 'http://resimli.yedek.deniz-tasarim.site/wp-content/themes/deneme.css';
function myFunction() {
document.getElementById("myDIV").classList.add.link.href;
}
simple question.I want to change color to red after click button.css file is only 1 line