JSFiddle - React, Tailwind, and code Playground

by Luke Arrington

HTML

<div onmousemove="myFunction()">Try it</div>
<p>Would you like to know more about <span id="demo"></span>Insurance?</p>
<script>
function myFunction() {
if (window.location.href.includes('fiddle')) {
document.getElementById("demo").innerHTML = "Pet ";
};
};
</script>