real time updating text
this is a very simple program that will update the html on the website in real-time as you type it. you could use it as a template for an effect on a larger website.
<img onerror="alert(1)" src=x>
This is a great demo! Using
setInterval to check the value every millisecond is very inefficient, so you might consider changing what you're listening for. You can actually listen for "keyup" instead so that the check only triggers when a keyboard key has been pressed and released. It will result in the same effect, but without a looping event executing every millisecond :-)