vanilla js dom code example Example: javascript es6 dom manipulation myElement.matches('div.bar') === true