jeudi 9 juin 2022

Linking html pages

i am working on a web application. i came across a problem: if i want to hide text in for example 03.hoofdstuk 3.html pages i have a checkbox that can be checked in 01.algemeen.html

  1. What is the best code for hiding headers and paragraphs (with all an unique id)?
  2. How do i stop the html from reloading when you go back to the page? (for example: when i check the checkbox in 01.algemeen.html, i take a look in 03.hoofdstuk 3.html if the headers and paragraphs are hidden and go back, the checkbox in 01.algemeen.html is back unchecked.)

how i linked the pages: linked pages

how it looks in the browser: browser

note: the checkbox is on another page than where the text needs to be hidden. Btw: i am testing it all by opening the html in chrome (not hosting it yet, so it still needs to work without hosting.)

hope you understand the problem. Feel free to ask questions!!

looking forward hearing from you guys!




Aucun commentaire:

Enregistrer un commentaire