How to limit forEach to work only on a certain area or list (such as a very certain ul or ol list)?

And if I may (because you might be a moderator here of some sort) — with all niceness and respect to you I suggest to remove the comment about a hit in the head with a nerf bat. I don’t even recall where I found that but anyway I believe that just explaining the mistake would be enough (yes, I know you were kidding, it’s a matter of example to those who might not understand it).