function saveData() {
    const birthday = birthdayField.value;
    const lifeExpectancy = lifeExpectancyField.value;

    chrome.storage.sync.set({birthday: birthday, lifeExpectancy: lifeExpectancy});
}
// save the data back into chrome storage
save the data back into chrome storage
save the data back into chrome storage
function saveData() {
    const birthday = birthdayField.value;
    const lifeExpectancy = lifeExpectancyField.value;
    chrome.storage.sync.set({birthday: birthday, lifeExpectancy: lifeExpectancy});
}
function saveData ( ) { const birthday = birthdayField . value ; const lifeExpectancy = lifeExpectancyField . value ; chrome . storage . sync . set ( { birthday : birthday , lifeExpectancy : lifeExpectancy } ) ; }
save the data back into chrome storage
save the data back into chrome storage