JSFiddle - React, Tailwind, and code Playground

by lottikarotti

HTML

<!DOCTYPE html>
<html lang="de">
    <head>
        <meta charset="utf-8" />
        <title>HTML5 Layout</title>
        <link rel="stylesheet" href="css/main.css" type="text/css" />
    </head>
    <body>
        <div id="test"></div>
    </body>
</html>

CSS

#content {
    disply: block ;
    background-color: yellow ;
}

JavaScript

( function( $ ) {
    
    $.fn.myTool = function( ) {
        alert( "jQuery is working fine! :)" ) ;
    }
    
} ) ( jQuery ) ;
    
$(document).ready( function( ) {
    $('#test').myTool( ) ;           
} ) ;