ASSIGNMENT 1

HTML
<HTML> <HEAD> <TITLE>JAVASCRIPT</TITLE> </HEAD> <BODY> <SCRIPT> var a= parseInt(prompt("Enter a string")); if(isNaN(a)==true) { if(isFinite(a)==true) { document.write("It is not a number and a finite value"); } else { document.write("It is not a number and an infinte value"); } } else { document.write("It is a number"); } </SCRIPT> </BODY> </HTML>
CSS
JAVASCRIPT
Expand for more options Login