JQuery
Quiz by Hardik Vedikin
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
40 questions
Show answers
- Q1Which jQuery method is used to hide an HTML element?$().remove()$().show()$().hide()$().toggle()30s
- Q2Which jQuery method is used to change the content of an HTML element?$().text()$().css()$().html()$().append()30s
- Q3Which jQuery method is used to add a CSS class to an HTML element?$().addClass()$().hasClass()$().removeClass()$().toggleClass()30s
- Q4Which jQuery method is used to handle events?$().bind()$().on()$().hover()$().click()30s
- Q5Which jQuery method is used to retrieve the value of an input field?$().html()$().attr()$().text()$().val()30s
- Q6Which jQuery method is used to fade in an HTML element?$().slideUp()$().slideDown()$().fadeOut()$().fadeIn()30s
- Q7Which jQuery method is used to loop through a set of HTML elements?$().filter()$().each()$().map()$().find()30s
- Q8Which jQuery method is used to retrieve the width of an HTML element?$().outerWidth()$().height()$().width()$().innerWidth()30s
- Q9Which jQuery method is used to animate HTML elements?$().toggle()$().animate()$().show()$().hide()30s
- Q10Which jQuery method is used to remove an HTML element?$().detach()$().remove()$().hide()$().empty()30s
- Q11What is the correct syntax to fade out an element using jQuery?$('element').fadeOut();$('element').hide();$('element').fadeOut(1000);$('element').fade(false);30s
- Q12Which jQuery method is used to change the text content of an element?$('element').html('new text');$('element').setAttribute('textContent', 'new text');$('element').text('new text');$('element').append('new text');30s
- Q13Which jQuery method is used to hide an element?$('element').hide();$('element').remove();$('element').fadeOut();$('element').show();30s
- Q14Which jQuery method is used to add a class to an element?$('element').toggleClass('class-name');$('element').setAttribute('class', 'class-name');$('element').removeClass('class-name');$('element').addClass('class-name');30s
- Q15Which jQuery method is used to remove an element from the DOM?$('element').hide();$('element').removeAttr('attribute');$('element').remove();$('element').append();30s