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

HTML

Admin panel

Hey,

Im trying to make a admin panel so I've got the a text box which you type into and click submit and it changes on the index.html page but when I refresh the page it doesn't stay, is there away I can make it stay?

Thank you so much guys!

1 Answer

Steven Parker
Steven Parker
243,318 Points

:point_right: Nothing changed in the front end will actually "stay" after a refresh.

But you could deliver a page with the data preloaded by the server, which would require a custom server application.

Another way to go would be to prevent the refresh and just update the server using a mechanism such as AJAX that would leave the current page intact.

thank you very much, is there any tut on here for that?