How to change color of text based on user input in Javascript
I would like to change color of the header based on what color the user chooses and types in in the input box provided. I just can't figure out how to type correctly if (user input === color){ document.getElementById("header").style.color ="that…