title: to push id's from clicked divs into my array
body: <p>My question is how to push id's from clicked divs into my array , and then compare if the array's length is as long as the other array.Any help would be great!</p>
  
  <pre><code>$("#carrot").click (function (){
    bunny.push("#carrot");
  })
  
  $("#lettice").click (function (){
    bunny.push ("#lettice");
  })
  
  $("#flowers").click (function (){
     bunny.push ("#flowers");
  })
  
  
  var rabbit=["dogs","chickens","chickens"];
  var bunny =[];
  
  function store (){ 
  if (bunny.length&gt;=rabbit.length){
  alert ("yay!");
  }}
  </code></pre>