Skip to content
Advertisement

How to exclude specific class names in querySelectorAll()?

How can I exclude tag elements that have a specific class name?

JavaScript

Advertisement

Answer

Use :not CSS pseudo-class:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement