Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


In the todo list project with javascript how do you save the list when you open it on the internet. How do you save it.

When he teaches the lesson on how to build it, He shows you how to build it, but when I uploaded it to my website, and try to use it as a todo list. I doesn't save any of the todo items. For example it type pickup Kids and hit enter and it goes down into the todo list, but when I refresh the page it disappears and doesn't save the string. Where can I find the code to save the string if I werte to open it on another page, and it would be there.

1 Answer

Erik McClintock
Erik McClintock
45,783 Points


You could look into localStorage here and here.