3 basic Javascript Questions

  1. Which of the following methods returns an array of all the elements in a Webpage,
    with a specified class name?

getElementsByName

getElementsByTagName

getElementsByClassName

getElementByClassName

  1. The JavaScript____________object holds information of browser screen.

screen

history

navigator

  1. The JavaScript _________ object is used for browser detection

navigator

history

screen

2 Likes
  1. Which of the following methods returns an array of all the elements in a Webpage,
    with a specified class name?---------------c
  2. The JavaScript____________object holds information of browser screen ------a
  3. The JavaScript _________ object is used for browser detection --------a
1 Like
  1. getElementsByClassName
  2. screen
    3.navigator
1 Like