Javascript examples for Math:Quiz
Display the square root of "9".
ResultView the demo in separate window
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Math.sqrt(9); </script>// ww w . java 2 s .c om </body> </html>