JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="myID" />

JavaScript

document.getElementById('myID').Value = "bob";
    
alert(document.getElementById('myID').Value);

document.getElementById('myID').value = "bob-correct";

alert(document.getElementById('myID').value);