Recent content by spacehead

  1. S

    Hello

    Hi guys I am new here!
  2. S

    Javascript Help

    <!DOCTYPE html> <html> <body> Age:<input id="age" value="18" /> <button onclick="myFunction()">Try it</button> <p id="demo"></p> <script> function myFunction() { var voteable; var age; age=document.getElementById("age").value; what does .value mean? voteable=(age<18)?"Too young":"Old...
Back
Top Bottom