I'm attempting to save an input to local storage, though the key is being identified as "form-control" the input that I or the user would type is not saving in local storage. I attempted to single out each input and call them individually, but that does not work.
$("button.saveBtn").on('click',function(event){
savetodos();
})
localStorage.setItem("form-control", JSON.stringify(formcontrol));
formcontrol.on('saveitem', function(event){
})
savetodos();
};```