Answers for "onclick change text color javascript"

0

onclick change text color javascript

<script>

    document.getElementById('change').onclick = changeColor;   

    function changeColor() {
        document.body.style.color = "purple";
        return false;
    }   

</script>
Posted by: Guest on May-14-2020

Code answers related to "onclick change text color javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language