Course contentsShow
Web Development
Lesson 684 of 2,98212. The Document Object ModelPro lesson

The matches() Method

Test if an element matches a CSS selector without selecting it, useful for conditional logic.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.