JSFiddle - React, Tailwind, and code Playground
HTML
<div id="explanation">
</div>
JavaScript
var quiz = [{
"question": "What is the greatest common factor of 105 and 126?",
"image": "",
"choices": ["3", "7",
"9", "21", "35"
],
"correct": "21",
"conceptlink": "https://www.khanacademy.org/math/in-sixth-grade-math/playing-numbers/highest-common-factor/v/greatest-common-divisor",
"explanation": "In order to solve this question, you must factor each number into prime factors<h1>Height</h1>",
}];
var escaped = $("<div>").text(quiz[0]['explanation']).html();
$('#explanation').html('<strong>Incorrect.</strong> ' +escaped);