i was just writting a javascript to test my browser. Guys i am not comfortable in this so im not able to trace the problem in mmy code.
<script language="javascript">
var password="yummy";
var pass;
var count=1;
pass=prompt('Please enter your password!', '');
if(pass==password)
{
window.location="http://www.yahoo.com";
}
else
{
while(count<=4){
if(count==4){
ALERT1();
window.location="http://www.google.com";
}
else{
count=count+1;
pass=prompt('Please enter your password!','');
}
}
}
function ALERT1()
{alert("you have lost all your chance! now go to google and search karo");
}
</Script>
Please

And please don't laugh if i made any stupid mistake
