I am creating a Workday Scheduler that has divs for 9 AM- 5 PM. I want the text inputted into the text area to be saved in local storage and to remain on the page if it gets closed or refreshed. How do I write this in Javascript?
<!--9 am block -->
<div style="padding: 5px" id="hour-9" class="row time-block">
<div class="col-md-1 hour">9 AM</div>
<textarea class="col-md-10 description"></textarea>
<button class="col-md-1 btn saveBtn"><i class="fas fa-save"></i></button>
</div>