JSFiddle - React, Tailwind, and code Playground

HTML

<div id="#app"><p>test</p></div>

JavaScript

console.log($("#app").html());