JSFiddle - React, Tailwind, and code Playground

by lddubeau

HTML

<div id="1">
moo
</div>
<div id="2">
min
</div>

JavaScript

const div1 = document.getElementById("1");
const div2 = document.getElementById("2");

$(div1).html(div2);