JSFiddle - React, Tailwind, and code Playground

by Ruchi Samdariya

HTML

<body>

<p>Assign 5 to x, and display the value of the comparison (x == 8):</p>

<p id="demo"></p>

<script>
var x = 5;
document.getElementById("demo").innerHTML = (x == 8);
</script>

</body>