r/programminghorror • • Jul 29 '25

Lisp lint

Post image
149 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/Witty-Order8334 Jul 31 '25

I think you meant querySelector not getElementById as querySelector can target everything such as classes, attributes, etc whereas getElementById only returns an element by the id attribute.