JSFiddle - React, Tailwind, and code Playground

by Blake Plumb

HTML

<div id="mydiv"></div>

CSS

.event_holder{
    background: #000;
    height: 50px;
}

JavaScript

var content = '<input id="e1coords" class="coords" name="e1coords" type="hidden" value="-27.482359,153.024725">';
content = $('<div class="event_holder"></div>').append(content);
$('#mydiv').append(content);