jQuery Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout the test
The jQuery online test assesses knowledge of programming in the JavaScript language and features of the jQuery library through a series of live coding questions.
The assessment involves solving work sample tasks such as:
- Handling user events and manipulating DOM to build responsive web pages.
- Using jQuery selectors to select proper HTML elements.
- Initiating and handling asynchronous events.
A good Web front-end or JavaScript developer working with jQuery needs a solid understanding of the JavaScript programming language and the ability to use the functionality of the jQuery library to write maintainable code that works on all browsers.
Sample public questions
The following HTML represents a family tree:
<James>
<Dave></Dave>
<Mike></Mike>
<Sarah></Sarah>
</James>
Implement the closestRelative function so that when a parent jQuery object is passed, the function returns the parent's closest relative whose name matches the relativeName, and obeys the following rules:
- The parent parameter is the jQuery object of which the closest relative will be a descendant.
- Each member of the family, including children, may also be a parent to one or more children.
- Children are more closely related to the parent than grandchildren.
- If several children in the same generation have the same name, then the first child in the tree is considered the closer relative.
- If no matching relative is found the function should return null.
For example, the below code should print 'MIKE' for the given family tree:
let parent = $('James').eq(0);
let relative = closestRelative(parent, 'Mike');
console.log(relative && relative.prop("tagName")); // prints MIKE
A website needs a list where users can rank their favorite foods. Write the setup function, which should register click handlers on all Up! and Down! buttons. The Up! button should move the list item one place up in the list, while Down! button should move the list item one place down in the list.
Clicking the Up! button for the top list item or clicking the Down! button for the last list item should not have any effect on the list.
For example, consider this code:
document.body.innerHTML = `<ol>
<li><button class="up">Up!</button>Taco<button class="down">Down!</button></li>
<li><button class="up">Up!</button>Pizza<button class="down">Down!</button></li>
<li><button class="up">Up!</button>Eggs<button class="down">Down!</button></li>
</ol>`;
setup();
If the button Up! button in Pizza list item is clicked, Pizza should be the first item in the list, while Taco should be the second item.
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the jQuery test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
Ready to Interview?
Use these and other questions from our library with our
Code Interview Platform.
13 more premium jQuery questions
Copy Element, Loading Bar, Cards, Validation, Table of Names, A Tag, Product Rating, Post Comment, Reorder, Hide Button, Confirm, Row Appender, Double.
Skills and topics tested
- jQuery
- JavaScript
- Selectors
- DOM Manipulation
- HTML5
- Event Handling
- Forms
- Attribute Manipulation
- Content Manipulation
- Asynchronous Calls
- Dialog Box
- Error Handling
For job roles
- JavaScript Developer
- jQuery Developer
- Web Front-End Developer
Sample candidate report
Need it fast? AI-crafted tests for your job role
TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!
What others say
Simple, straight-forward technical testing
TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.
Jan Opperman, Grindrod Bank
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
From web development and database administration to project management and customer support. See all pre-made tests.
130+ skills
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Multi-skills Test
Mix questions for different skills or even custom questions in one test. See an example.
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports