JSFiddle - React, Tailwind, and code Playground

by jcollum

HTML

<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/ui-lightness/jquery-ui.css">
<a onclick="showHowThisWorks() ">How does this all work?</a>

<div id="howThisWorks" style="display: none; ">

  <p>It works fine</p>
</div>

CoffeeScript

$(document).ready ->
  $('#howThisWorks').hide()
  return
  
@showHowThisWorks = () ->
  $div = $('#howThisWorks')
  $div.toggle();
  $div.effect('highlight', {}, 6000)
  return