I am new to the world of html/css and my knowledge of javascript is limited, so I'm unsure where to begin with this project. Please forgive me if I misuse any terms! I am currently developing a piece of interactive fiction using html/css, where users will navigate through a town based on hyperlinks embedded in a webpage called places.html. The links direct them to:
- sheriff.html
- saloon.html
- stables.html
- clocktower.html
- bank.html
- store.html
However, I want to incorporate one more webpage, graveyard.html, but only make it visible after the user has visited at least three of the aforementioned webpages. I have looked into using cookies as a solution, but I could only find resources that explain how to change the initial page seen by the user upon visiting. Searching online has not provided me with a suitable solution either. I hope this explanation clarifies my dilemma, and I would greatly appreciate any assistance!