less than 1 minute read

Simple blinking DOM Element

<div id="element">BLINK!!!</div>

<script>
  setInterval(() => element.hidden = !element.hidden, 1000);
</script>

Categories: , ,

Updated:

Comments