60 mins

Step 3: Memory State Store Engine

3. Memory State Store Engine

Build a local memory state system to store data elements.

Detailed Implementation Steps:

Declare a single global state object at the top of your script. This state must contain an array key named tasks representing all tasks.

Define a transaction schema: every task added must be represented as an object with keys: id (a randomly generated string/hash), title (the user input string), completed (a boolean status flag), and timestamp.

Verification Checklist:

  1. Confirm state arrays initialize as empty arrays on page load.

Knowledge Check

Ready to test your understanding of Step 3: Memory State Store Engine?

No Quiz Available
Back