scalar selector will return single element composite selector will return array of elements. some elements are unique in html page. like head, body, title, id etc. In this case we will get single ...
💡JavaScript selector fact:- ️ With querySelector, you can select only the first element that matches a specified CSS selector, whether it's by tag, class. 🌀 On the other hand, getElementsByClassName ...