0
Create a addition programe
how can i create a programe using prompt and alert in java script
3 Answers
+ 2
It's very simple
alert("something");
prompt("something);
confirm("something);
Do observe that js codes are case-sensitive
0
hello buddy,
i am also trying this method please you can write code
0
<html>
<head>
<script type="text/javascript">
window.alert('hi boy'); //or
alert('hi boy');
</script>
</head>
<body>
<h1>javascript test</h1>
</body>
</html>