JSFiddle - React, Tailwind, and code Playground

by sanjeewa

HTML

<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<div id="modal" title="My dialog">
       
		<a href="#close" title="Close" class="close">X</a>
		<h2>Modal Box</h2>
		<p>This is a sample modal box that can be created using the powers of CSS3.</p>
		<p>You could do a lot of things here like have a pop-up ad that shows 
when your website loads, or create a login/register form for users.</p>
	</div>
</div>
</div>

JavaScript

$(function() {
        $( "#modal" ).dialog();
});