title: How to animate scrolling to top of page using javascript (no jQuery)?
body: <p>I would like execute a transition when pressing a button for the webpage to slowly scroll back to the top of the page. I know how to execute a transition using a change in class, but in this instance, how would i do it?</p>
  
  <pre><code>document.documentElement.scrollTop = 0;
  </code></pre>