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

JavaScript AngularJS Basics (1.x) Improving Our Todo App Finalizing Our Application

Mars Epaecap
Mars Epaecap
5,110 Points

How do you prevent the list from resetting after refreshing? How do I save it on the client side?

The list resets every time I refresh my browser How can I edit the files to save my list?

2 Answers

Samy Basset
Samy Basset
11,862 Points

You can achieve this in two ways:

Like Chyno Deluxe says you can use local storage . Or you can use a database that will work with front-end languages(Firebase for example, https://www.firebase.com/). I hope that this will help you, cheers!

I suggest you read on Local Web Storage.