JSFiddle - React, Tailwind, and code Playground

by Eric Howe

HTML

<textarea id="location">&#10004;</textarea>

JavaScript

if(document.getElementById('location').value.charAt(0) == '\u2714')
    alert("symbol");
else
    alert("not there");