Storing Local Data with Javascript
Njeri Cooper
Posted on June 25, 2019
I'm trying to store a table's data locally. I'm a bit confused about where I should store the cells; in an array? Will the array return each cell in the correct row index? How should I set the local data variable if I'm passing rows and a table as the arguments?
In my code, the table creates a new row from user input. When I refresh, the table goes away. I'd like to keep the table from the previous session.
Here's what I have so far:
(press the play button to run the code)
💖 💪 🙅 🚩
Njeri Cooper
Posted on June 25, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.