HTML5 Web APIs

Exercise: Web Storage

  • Use the Web Storage API to save the authentication token in the chat client application.
  • Add a checkbox to the login form to allow a user to keep the token even after closing the browser.
  • Delete the token when the user logs out.