Idiot Test
faith is learning Javascript, the only thing that is protecting her from hackers is luck.
Level 1
Javascript Mission 1:
Faith is learning Javascript
____________________
Password: |____________________|
Check Password
Solution:- View page source code. Find the javascript code below.
< button onclick="javascript:check(document.getElementById('pass').value)">Check Password< /button>
function check(x)
{
if (x == "cookies")
{
alert("win!");
window.location += "?lvl_password="+x;
} else {
alert("Fail D:");
}
} - Input "cookies".
- Congratulations, you have completed this challenge.