1) Write a script to prompt for a username and password in Javascript.
<!Doctype html>
<head>
<title>prompt</title>
</head>
<body>
<script>
/* prompting the
username and password*/
prompt("Enter
username")
prompt("Enter
password")
</script>
</body>
</html>
---------------------------------------------------------------------------------------
please enable java script in your browser
Get Answers For Free
Most questions answered within 1 hours.