Click in order · JavaScript and TypeScript course · Module 5: Advanced JavaScript

localStorage Syntax

Arrange the elements for saving an object to localStorage:

Items to click

  • object))
  • .setItem(
  • localStorage
  • 'key', JSON.stringify(

You can check the correct answer by solving this task in the CodeWorlds game.