JSFiddle - React, Tailwind, and code Playground

by blunderboy

HTML

<div> Spearator </div>

<div id='container'> This is container </div>

<button id='sachin'> click to change content </button>

<div> Spearator </div>

JavaScript

$('#sachin').click(function() {

  $('#container').html('<html> <head> <title> This is doc </title> <style type="text/css">  p { color: blue; } </style>  </head> <body> <p> This is good </p> <p> This is good </p> <p> This is good </p> <p> This is good </p> </body> </html>');
});