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 you can Write "Hello W3docs" with alert ?

    Next >>
  • 4/20

    How we can call myFunction function in javascript ?

    Next >>
  • 5/20

    Which is correct way to use "If" in javascript ?

    Next >>
  • 6/20

    How we can use "While" in Javascript ?

    Next >>
  • 7/20

    Which is the correct way to use comment in Javascript ?

    Next >>
  • 8/20

    Which is correct way to declare an array in Javascript ?

    Next >>
  • 9/20

    How to detect client's browser name ?

    Next >>
  • 10/20

    What is the "variable" value ?

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

    Javascript is back-end side programming language ?

    Next >>
  • 12/20

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

    Next >>
  • 13/20

    How to declare new date in Javascript ?

    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

    Which function is used to load the next URL in the history list ?

    Next >>
  • 17/20

    How can we open confirm window in Javascript ?

    Next >>
  • 18/20

    How can we get the cookies 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 >>