How to store user input locally using JavaScript For user bio : I'm a coding noob. I'm creating a cross-platform app and I want the user bio to be stored locally and stay there after refresh and close/reopen.
Thanks

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-js -->

    var newBio = document.getElementById("bio").value;
    var storeBio = localStorage.setItem(newBio);
    document.getElementById("bio").innerHTML = localStorage.getItem(storeBio);


<!-- language: lang-html -->

    <input id="bio" type="text" name="search" placeholder="Bio" onmouseout="showBotNav(); saveBio()"><br>

<!-- end snippet -->

