JavaScript User details input and print #Part 3

 JavaScript User details input and print #Part 3



         In this article we are lean to get details from the user and print.

JavaScript Code

<script>

var name=prompt("enter your name");

var email=prompt("enter your email");

document.write("Name:"+ name + "<br>");

document.write("Email:"+ email);

</script>


Try it Yourself...

what you think about this article ??

Post a Comment

Previous Post Next Post