JSFiddle - React, Tailwind, and code Playground

by stopsatgreen

HTML

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Prototyping with code</title>
    <link href="style.css" rel="stylesheet">
    <style>div { min-height: 20px; }</style>
</head>
<body>
    <p>Hello World!</p>    
</body>
</html>

JavaScript

// EXAMPLE 1: jQuery initialisation function

$(document).ready(function(){
   
    // Your functions go here
    
});

// EXAMPLE 2: jQuery click event

$(document).ready(function(){
   
    $(element).click(function(e){

        // Your functions go here

        e.preventDefault();
    });
    
});