title: if and else statement check if has class
body: <p>I cant seem to figure out whats going on here... Im kind of half asleep, really trying to get this last thing done before i go to bed lol. </p>
  
  <p>My goal: Click someone, then check if it has the class, if not, then add it, then remove it once the 1 second animation is complete. Right now im getting unexpteced identifier on the 3rd line down. (removeClass)</p>
  
  <p>Note: the <code>slamedown</code> class is a keyframe</p>
  
  <pre><code>$('#accountloginsignup h1').click(function() {
    if ($('#takeonebar').hasClass('slamdown')){
      $('#takeonebar')removeClass('slamedown');
    } else {
      $('#takeonebar').addClass('slamdown');
    }
  });
  </code></pre>