DOM querySelector and querySelectorAll

Hi, in this post I’m going to explain you how the querySelector and querySelectorAll works. This HTML is to show you how these methods works: .querySelector(‘ ‘) To get the element that is in the DOM, in this case the querySelector(”) will get the first element in the document and the syntax is: Examples of … Continue reading DOM querySelector and querySelectorAll