DEV Community

[Comment from a deleted post]
Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Obviously, if this was StackOverflow, the top comment would explain how all these problems aren't a thing in JavaScript and have some code snippets filled with $ without ever even mentioning jQuery at all.

This answer would be the accepted one and have a comment by the user asking the question thanking the poster for the great answer, again, without ever acknowledging that nobody ever even mentioned jQuery.

The next 20 answers would be walls of code using APIs from before we invented the wheel and at the very bottom there'd be an answer from last year explaining how to do the thing in 3 lines of modern JS. Of course, this answer has 0 upvotes and a comment from three months ago pointing out that this code wouldn't work in IE5.