Consider following code snippet:

What will be the color of the text after executing the code?
.first() method returns the first element in that set. .last() method returns the last element in that set. .slice() method return a limit set of elements in that set. .closest() method the first ancestor of the selector elements.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes