Hi! 
I would like to build a small login terminal -like game on a page of our website.
How can I validate (check?) for a specific “password” in a text input?
My idea looks like a login terminal, where players can type in a password or a mini game solution, then press an OK button.
If they typed the correct password or aswer or one of the correct aswers, the page redirects the player to an other page with the next content / mini game etc.
Preferrably multiple layers (page after page).
It doesn’t have to be secure or anything, it is just for fun.
Thanks a LOT
Bálint
Hello, Bálint!
The following links should help you start:
Corvid: About Validating User Input with Code
Custom Validations Example - You can open this example in your Editor, play with it, adjust to your needs and implement on your site.
In order to redirect to another page, you can use wixLocation.to()
https://www.wix.com/corvid/reference/wix-location.html#to
Hello, Anastasiia!
Thank you for your reply! 
I came up with this solution:
export function button1_click(event, $w) {
wixLocation.to(/${$w("#input1").value}
);
}
Here I can direct the players to the next page, if they type in the page title.
My only remaining problem is, how can I add an exception, or an if statement?
Something like:
export function button1_click(event, $w) {
if (#input1 === “this is the password”){
wixLocation.to(/${$w("#input1").value}
);
}
}
It says: Parsing error: Unexpected character ‘#’