Localstorage favorites list for movie website


This Content is from Stack Overflow. Question asked by Isaac Trichka

I can’t figure out how to create an icon that (once clicked, displays the corresponding movie on the watchlist page (which is a different page) and uses localstorage to keep the watchlist content displayed until removed by the user.) and has a watch button has a href link to redirect the user to the page where the movie is posted. Does anyone know how to do this? Any help would be greatly appreciated!


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?