JSFiddle - React, Tailwind, and code Playground

by Tim Morgan

HTML

<h1>Heyo Boyo</h1> 
<div id="info" class="result">I will magically disappear and give you numbers</div>

CSS

h1 {
    font-size: 15px;
    color:blue;
}

JavaScript

var a = prompt("Enter a number");
var b = prompt("Enter another number");
document.querySelector(".result").textContent = a + b;