I am currently working on a website for my upcoming wedding, which consists of 2 separate events with different sets of information regarding when and where they will take place. I would like to create a system where users can input some kind of prompt, such as a password, and depending on their response, be directed to the appropriate event page. For example, if they click "guest information," they will be prompted to enter a password and based on that either be redirected to site.com/page1 or site.com/page2.
While I have some knowledge in front-end technologies like JavaScript and jQuery, I'm not well-versed in server-side scripts. Is there an easy way to achieve this functionality without too much involvement of complex back-end development? Any help or suggestions would be greatly appreciated! Thank you!