title: addEventListener is not a function
body: <p>hi i am trying to close the divs using the close click..
  here is the code</p>
  
  <pre><code>var closeIcon=document.getElementsByClassName('.monique-close-icon');  
  
      function closeBigImgAndContainer()
  {
      MoniqueDiv.style.display= "none";
      currentBigImageToDisplay.style.display="none";
  };
  
  closeIcon.addEventListener("click", closeBigImgAndContainer);
  </code></pre>
  
  <p>But in console there is an error 
  <strong>Uncaught TypeError: closeIcon.addEventListener is not a function(anonymous function) @ main.js:14</strong>
  Please tell me where i am doing it wrong...Thanks.</p>