title: How to scroll into view each item in a node list one after another in one line of code on keypress?
body: <p>I have a page that I'd like to scroll each element into view in one line of code. </p>
  
  <p>Code I have so far: </p>
  
  <pre><code>window.addEventListener("keyup", function (e) { e.keyCode==13 ?document.querySelectorAll("ins").scrollIntoView():void})
  </code></pre>
  
  <p>I thought I could get it to work with a single element but I'm not getting key events (nevermind it's no script on local file): </p>
  
  <pre><code>window.addEventListener("keyup", function (e) { console.log("test") })
  </code></pre>