function saveValue(e) {
    var id = e.id;
    var val = e.value;
    localStorage.setItem(id, val);
}
// Save the inputted value in local storage
Save the inputted value in local storage
Save the inputted value in local storage
function saveValue(e) {
    var id = e.id;
    var val = e.value;
    localStorage.setItem(id, val);
}
function saveValue ( e ) { var id = e . id ; var val = e . value ; localStorage . setItem ( id , val ) ; }
Save the inputted value in local storage
Save the inputted value in local storage