eddie-2020 / my-portfolio-v0

0 stars 1 forks source link

# hide-and-seek #24

Open vic778 opened 3 years ago

vic778 commented 3 years ago

then select the value according to the index of the array like this :

function getInput() { localStorage.setItem('name', formInputs[0].value); localStorage.setItem('email', formInputs[1].value); }