www.webdeveloper.com

Search:

Type: Posts; User: sidney123

Search: Search took 0.01 seconds.

  1. Replies
    55
    Views
    45,369

    Here is the second exercise: var num1 =...

    Here is the second exercise:

    var num1 = prompt("Enter the first number: ", " ");
    var num2 = prompt("Enter the second number: ", " ");
    var num3 = prompt("Enter the third number: ", " ");
    ...
  2. Replies
    55
    Views
    45,369

    I thought this way was easier: var str =...

    I thought this way was easier:

    var str = prompt("Enter a character: ", " ");
    var myVowels = ["a", "e", "i", "o", "u"];



    function testVowels(){
    if(str == myVowels[0]){
    if(str ==...
  3. Replies
    55
    Views
    45,369

    Here is an easier way; var num1 =...

    Here is an easier way;

    var num1 = prompt("Enter the first number: ", " ");
    var num2 = prompt("Enter the second number: ", " ");

    function max(){
    if(num1 > num2){
    document.write("The...
Results 1 to 3 of 3
HTML5 Development Center



Recent Articles