JSFiddle - React, Tailwind, and code Playground
by Town
HTML
<div id="test"></div>
JavaScript
// comment this line in and run to see how it prevents
// the subsequent alert from being reached
// alert(getElementById('test'))
alert(document.getElementById('test'))