JSFiddle - React, Tailwind, and code Playground

by BenjaminRay

HTML

<div>Eric,</div>
<div>This site is awesome for trying stuff without having to create a bunch of files or screw up the code you already have working.</div>
<div><a href="#" id="aTell">What does this do?</a>
</div>
<div>Even allows you to save your sessions, collaborate with them in real-time, fork sessions, and automatically creates a new version every time you save. A great way to share working web code witho others.</div>
<div>Ben</div>

CSS

* {
    font-family: arial;
    font-size: 12px;
}
a {
    font-size: 14px;
    color: #66a;
    padding-left: 15px;
}
div {
    margin-bottom: 15px;
}

JavaScript

$('#aTell').click(function (event) {
    event.preventDefault();
    tellEric('This site is pretty hand.');
});

function tellEric(msg) {
    alert('Eric:  ' + msg);
}