Can somebody tell me which selector can be used to select a tag based on its text content? I have a question here that I can't answer because I can't find anything (easily, anyhow) talking about it:
Provide a Javascript code fragment using document.querySelectorAll to count the number of li in an ol that have the string Hello.
I know I can use document.querySelectorAll(ol li) to get a NodeList of all the <li> elements inside <ol> elements, but I don't know how to target text nodes.