Javascript examples for Math:Quiz
Create a variable called myNumber, assign the value 50 to it, and display it.
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var myNumber = 50;/*from w ww.ja va 2 s. c o m*/ document.getElementById("demo").innerHTML = myNumber; </script> </body> </html>