Auto Save Textarea to localStorage

JavaScript Medium 7 views
Back to Questions

Problem Description

You have and a . Save textarea value to localStorage key note_text on input (debounced 200ms). On load, restore. Clear button removes storage and clears textarea.

Input Format

No input.

Output Format

No output (DOM change).

Constraints

Assume #note textarea and #clear button exist.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next