|
Okay, so i'm learning Js and dont know why this scrip doesn't work?
<html>
<head>
</head>
<body>
<script type="text/javascript">
prompt("whats ur name","name")
if
{
name== Josh
}
document.write("hey bro");
else
document.write("go away");
</script>
</body>
</html>
|