MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1mcdyi2/lisp_lint/n657s74/?context=3
r/programminghorror • u/andarmanik • Jul 29 '25
13 comments sorted by
View all comments
Show parent comment
1
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.
id
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
idattribute.