JS15
I have tried many things, but there is one thing that escapes me. Where is the password? It should get the value somewhere from somewhere, but where? Is it just me or is the script not complete? I get something completely strange as a password or nothing as well.
I made a script that takes a+b and check what it is, but what value is it going to check? The ordinary alphabet? any number with that? I am a little confused about it.
I would be happy for any help I can get. Either here or through a pm.
The password is right there.
Its getting the value from the checkpassword() function.
The function is checking if what you input as the password matches the values it has assigned to certain variables that make up a riddle.
If the characters at the given positions in your input string match up with the values assigned to the variables in the riddle, then it triggers the alert("And You Win!");