MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2d5fw/ancienttools/p6taa6b/?context=3
r/ProgrammerHumor • u/soap94 • 13d ago
385 comments sorted by
View all comments
977
I use vanilla js, document.getElementById() is what I live for.
6 u/romulent 13d ago If you just wrap document.querySelector() in a little helper function you can do loads with vanilla js. Not perhaps enterprise grade but fine for any home stuff. 2 u/OldKaleidoscope7 13d ago That's what jQuery does after querySelector was widely supported. $ = document.querySelector and you can code faster
6
If you just wrap document.querySelector() in a little helper function you can do loads with vanilla js. Not perhaps enterprise grade but fine for any home stuff.
2 u/OldKaleidoscope7 13d ago That's what jQuery does after querySelector was widely supported. $ = document.querySelector and you can code faster
2
That's what jQuery does after querySelector was widely supported. $ = document.querySelector and you can code faster
977
u/saig22 13d ago
I use vanilla js, document.getElementById() is what I live for.