title: One div appear on click and second closes
body: <p>i know simple java script function on click</p>
  
  <pre><code>  $(document).ready(function(){
    $(".click").click(function(){
      $(".fade", this).fadeToggle();
    });
  });
  </code></pre>
  
  <p>but i want that on click one div appears and second one closes . like on this page <a href="http://www.wpbeginner.com/free-wordpress-blog-setup/" rel="nofollow">http://www.wpbeginner.com/free-wordpress-blog-setup/</a>, but on viewing source i could not find any code . Don't worry this link doesn't belong to me or my website</p>