So I have this string:
var textToBeRendered='<h1>I am a string of text</h1>';
If I have a div on the DOM, how would I be able to render the string to the div element as an actual header?
So the DOM would contain:
<div>
<h1>I am a string of text</h1>
</div>