JSFiddle - React, Tailwind, and code Playground

by nawazhi

HTML

<p>Click me!</p>

JavaScript

/*
$("p").live("click", function(){
  $(this).after("<p>Another paragraph!</p>");
});
*/


$("p").on("click", function(){
  $(this).after("<p>Now Click Me...Another paragraph!</p>");
});