title: getComputedStyle failed to execute
body: <p>I have this simple bit of code:</p>
  
  <pre><code>var recipes = document.getElementsByClassName("recipes");
  var recipesStyle = window.getComputedStyle(recipes, null);
  </code></pre>
  
  <p>It returns this error message:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window':
    parameter 1 is not of type 'Element'.</p>
  </blockquote>
  
  <p>I have no idea what I'm doing wrong here. Can anyone help?</p>