title: How to get ID of HTML element?
body: <p>So the code below will get the ID of the BODY elementL</p>
  
  <pre><code>var bodyId = document.body.id;
  </code></pre>
  
  <p>How can I get the ID of the HTML element using plain ole' JavaScript?</p>