Javascript basic

  • 1/20

    Where we put our javascript ?

    Next >>
  • 2/20

    Which is the correct syntax to use javascript file ?

    Next >>
  • 3/20

    How we can call myFunction function in javascript ?

    Next >>
  • 4/20

    How we can use "While" in Javascript ?

    Next >>
  • 5/20

    Which is correct way to declare an array in Javascript ?

    Next >>
  • 6/20

    How to find out the max of x and y ?

    Next >>
  • 7/20

    Javascript is the same as Java ?

    Next >>
  • 8/20

    How to detect client's browser name ?

    Next >>
  • 9/20

    What is the "variable" value ?

    var variable;
    if ( 11 == 11 and 12 < 10 ){
    variable = 12;
    }
    else {
    variable = 'undefined';
    }
    Next >>
  • 10/20

    What is the value of "variable" ?

    var variable = 0;
    var i = variable + 10;

    for(; i < 20; i++){
    variable += i + 10;
    }
    Next >>
  • 11/20

    How we can modify anything in any table of any database with Javascript ?

    Next >>
  • 12/20

    How to declare new date in Javascript ?

    Next >>
  • 13/20

    Which is the correct ?

    Next >>
  • 14/20

    We can set to html tag any styles with javascript

    Next >>
  • 15/20

    How we can declare an object with Javascrpt ?

    Next >>
  • 16/20

    How can we open new window with Javascript ?

    Next >>
  • 17/20

    How can we get the domain name with Javascript ?

    Next >>
  • 18/20

    How can we write anything into web page in Javascript ?

    Next >>
  • 19/20

    Which is undefined variable?

    variable1 = '14';

    if ( variable2 ) {
    delete variable2;
    }
    else if ( variable1 ) {
    delete variable1;
    }
    Next >>
  • 20/20

    How can we get the DOM element with id ?

    Next >>