Calling all CodeNewbies! I've been working on leveling up my JavaScript skills and ran into these two methods. Can you all help me figures our what querySelectorAll and getElementsBy methods return?
'Preciate your help!
Calling all CodeNewbies! I've been working on leveling up my JavaScript skills and ran into these two methods. Can you all help me figures our what querySelectorAll and getElementsBy methods return?
'Preciate your help!
For further actions, you may consider blocking this person and/or reporting abuse
Neelam -
WayneTyler -
Aadarsh Kannan -
Arjun Das -
Once suspended, seanspenstar will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, seanspenstar will be able to comment and publish posts again.
Once unpublished, all posts by seanspenstar will become hidden and only accessible to themselves.
If seanspenstar is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Sean.
They can still re-publish the post if they are not suspended.
Thanks for keeping CodeNewbie Community 🌱 safe. Here is what you can do to flag seanspenstar:
Unflagging seanspenstar will restore default visibility to their posts.
Oldest comments (1)
Well to the best of my knowledge, querySelectorAll returns all selectors that is being targeted (e.g query selector all(".hello") selects all elements with the class "hello".
haven't really come across getElementsBy methods before, but I guess its basically targeting all elements with a particular method. But if you meant getElementById - The document.getElementById() method returns the element of specified id.