Level 2 is still as simple as level1. You just need to understand it how it works and where to look. When the page loads a prompt box opens up and asks for a password. So you can simply open up the source code using ctrl+U and find where this source code is.
You will see something like this. This pass variable takes the value that is entered by the user and compares it with the string l3l.
<script language="JavaScript" type="text/javascript"> var pass, i; pass=prompt("Please enter password!",""); if (pass=="l3l") { window.location.href="http://www.hackertest.net/"+pass+".htm"; i=4; } </script>
For those of you who are still wondering the answer is l3l.
Good luck!!!