Quiz Sagar...
x
OR
We'll never share your email with anyone else.

Facing Issue in Login Click Here

No Result Found

Total

0

Correct

0

InCorrect

0

Score

0%

jQuery Objective Questions

What is jQuery?

  • JavaScript Library
  • CSS Framework
  • PHP Extension
  • HTML Tool
  • option1
  • Clear All
Clear All

Who developed jQuery?

  • Google
  • Brendan Eich
  • Microsoft
  • John Resig
  • option4
  • Clear All
Clear All

Which symbol is used with jQuery?

  • @
  • $
  • #
  • %
  • option2
  • Clear All
Clear All

Which method is used to hide selected elements in jQuery?

  • hide()
  • displayNone()
  • vanish()
  • invisible()
  • option1
  • Clear All
Clear All

What does $(document).ready() do?

  • Loads CSS
  • Waits until document is ready
  • Creates a new page
  • Hides content
  • option2
  • Clear All
Clear All

Which method is used to show hidden elements?

  • show()
  • appear()
  • visible()
  • display()
  • option1
  • Clear All
Clear All

Which jQuery method is used to change the content of an HTML element?

  • write()
  • html()
  • change()
  • text()
  • option2
  • Clear All
Clear All

Which jQuery method is used to apply CSS styles?

  • setStyle()
  • addStyle()
  • css()
  • style()
  • option3
  • Clear All
Clear All

Which function is used to fade in elements in jQuery?

  • fadeOut()
  • fadeIn()
  • showSlow()
  • display()
  • option2
  • Clear All
Clear All

How do you select all

elements using jQuery?

  • $("p")
  • $("#p")
  • $(".p")
  • $(p.all)
  • option1
  • Clear All
Clear All

Which method removes elements from the DOM?

  • delete()
  • remove()
  • hide()
  • empty()
  • option2
  • Clear All
Clear All

Which method removes only the content inside an element?

  • remove()
  • detach()
  • clear()
  • empty()
  • option4
  • Clear All
Clear All

Which method is used to handle click events in jQuery?

  • onClick()
  • click()
  • press()
  • eventClick()
  • option2
  • Clear All
Clear All

Which version of JavaScript is jQuery based on?

  • ECMAScript 2
  • ECMAScript 3
  • ECMAScript 5
  • JavaScript 1.2+
  • option4
  • Clear All
Clear All

What does chaining in jQuery mean?

  • Running multiple scripts
  • Calling multiple methods on a selector
  • Combining CSS and HTML
  • Nesting functions
  • option2
  • Clear All
Clear All

What is the correct syntax for jQuery?

  • jQuery("div").hide()
  • $("div").hide()
  • hide("div")
  • Both a and b
  • option4
  • Clear All
Clear All

Which jQuery method is used to slide elements up?

  • slideUp()
  • slideHide()
  • slideToggleUp()
  • moveUp()
  • option1
  • Clear All
Clear All

Which method is used to stop jQuery animations?

  • pause()
  • stop()
  • break()
  • halt()
  • option2
  • Clear All
Clear All

How can you include jQuery in your project?

  • Using < script > tag with CDN or local file
  • Using < link > tag
  • Using import
  • Using < meta > tag
  • option1
  • Clear All
Clear All

What does slideToggle() do?

  • Only shows the element
  • Only hides the element
  • Toggles between slideUp() and slideDown()
  • Slides to next page
  • option3
  • Clear All
Clear All