title: how do i display all item from my local storage when key is unknown
body: <p>html form where email is taken as key.
  rest all input is stored in local storage key values</p>
  <p>i want to display on the firstname and last name in a table</p>
  <pre><code>{
          let user={
              FirstName: document.getElementById(&quot;formReg&quot;).Firstname.value,
              LastName: document.getElementById(&quot;formReg&quot;).Surname.value,
              pass1: document.getElementById(&quot;formReg&quot;).pswd.value,
              email: document.getElementById(&quot;formReg&quot;).email.value,
              dateofbirth: document.getElementById(&quot;formReg&quot;).birthday.value,
              score:0,
          };
  
          alert(JSON.stringify(user));
          localStorage.setItem(user.email,JSON.stringify(user));
  </code></pre>