JSFiddle - React, Tailwind, and code Playground

HTML

<h3>Let's see some HTML</h3>
<div id="show-html">
</div>
<p>Something else here</p>

JavaScript

var myHTML = "Here is my <strong>HTML</strong> code stored in <em>mongoDB</em>";

$("#show-html").html(myHTML);