For a school work, I have to create a page that changes depending on the clicked link.
To be clearer, I start from a page with different links on it, and whatever the link I click on it brings to the same html page, but its content has to change depending on the clicked link with JavaScript.
What I thought was the easiest way, was to get the id of the clicked link on click, and, depending on it, the page content would change, but I can't keep this value through pages change.
Do you have an idea? (By the way, I am authorized to seek help for this project).