JSFiddle - React, Tailwind, and code Playground
HTML
<input id="degInput" type="text">
JavaScript
document.getElementById("degInput").setAttribute("value", "360 •");
<input id="degInput" type="text">
document.getElementById("degInput").setAttribute("value", "360 •");