JSFiddle - React, Tailwind, and code Playground

JavaScript

$(function () {
    $.get("/echo/html/", function (myContent) {
        //sample data returned
        myContent = "<p>Lorem Ipsum Dolor Sit Amet</p>";   
        $('<iframe id="myFrame" name="myFrame">').appendTo('body');
        $('iframe').contents().find('body').html(myContent);        
    });        
});