GoConqr has a new look! Let us know what you think.

Quiz

Javascript Test

Sean Connell 51 questions

Take the quiz

Questions in this quiz (51)

  1. 1Which of the following will return a live HTML collection?
    1. Adocument.querySelector()
    2. Bdocument.getElementByClassName()
    3. Cdocument.getElementById()
    4. Ddocument.querySelectorAll()
  2. 2Which method would you use to stop a default action?
    1. AstopDefault()
    2. BpreventDefault()
    3. CendDefault()
    4. Dyou can’t stop a default action
  3. 3During a keydown event, altKey and ctrlKey will repeat if held.
    1. ATrue
    2. BFalse
  4. 4The Array.from() method will not work in which of the following browsers
    1. AInternet Explorer
    2. BGoogle Chrome
    3. CMicrosoft Edge
    4. DMozilla Firefox
  5. 5An HTML file can contain a reference for an external file. The…
    1. AJavascript
    2. BCSS
    3. CAn image
    4. DAll of the above
  6. 6To add a class to an element without overwriting the other class
    1. Aelement.classList.add()
    2. Belement.className
    3. Celement.classList.contains()
    4. Delement.class
  7. 7What is the property on the event object for a click event…
    1. AclickedOn
    2. Bevent
    3. Cclick
    4. Drub
  8. 8In order to reduce security problems, JavaScript runs in a restrictive environment called a:
    1. Afirewall
    2. Bsandbox
    3. Csean's house
    4. Dtunnel
  9. 9When adding event handler
    1. Aadd event listener
    2. Badd event
    3. Cevent
    4. Devent listener
  10. 10Events are fired on the target element and then each of the target element’s parents.
    1. Apropagation
    2. Btargeting
    3. Ccapturing
    4. Dobserving

Information

Description
Good luck everyone!
Language
English
Views
27
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?