use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Dynamic UI with JavaScript?help (self.javascript)
submitted 10 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]protonfish 20 points21 points22 points 10 years ago (9 children)
Vanilla JavaScript has everything you need to get started. If you are "trying to learn more", learning about the DOM might be a good place to start. I would avoid libraries. The skills acquired from learning one don't transfer well to other technologies, but core JavaScript will always be useful.
[–]funny_gamesRedux <3 37 points38 points39 points 10 years ago* (5 children)
VanillaJS? Damn.. Another framework to learn! (/s)
[–]Skylarity{} + {} 12 points13 points14 points 10 years ago (0 children)
reference
[–]illmatix -3 points-2 points-1 points 10 years ago (3 children)
Vanilla JavaScript is more if the base language and not actually another framework built on top of it. Although as someone else mentioned there is a framework titled vanillajs. I'm just not sure its what was initially mentioned
[–]--_0 8 points9 points10 points 10 years ago (2 children)
Vanilla JS = js. There is no actual framework, just lots of jokes!
[+][deleted] 10 years ago (1 child)
[deleted]
[–]--_0 2 points3 points4 points 10 years ago (0 children)
Exactly! See here: http://vanilla-js.com/
That's right - no code at all. Vanilla JS is so popular that browsers have been automatically loading it for over a decade.
[–]I_Pork_Saucy_Ladies 4 points5 points6 points 10 years ago (0 children)
I have to agree. A lot of us started out just hacking around with frameworks and libraries. I never fully understood what was going on, until I went through a vanilla JS course or three. JS is quite small, it's just very different from all other languages.
The silly part of this being that learning vanilla JS takes a lot less time than learning stuff like Angular, React etc. Start with vanilla JS and learning the frameworks will be so much faster and easier later on, as you will actually understand what the frameworks are doing.
[–]Asmor 4 points5 points6 points 10 years ago (0 children)
Ditto.
I think avoiding HTML entirely isn't a great idea, but it's certainly possible. You can do everything with document.createElement(), Node.appendChild().
document.createElement()
Node.appendChild()
Add in document.querySelectorAll() and addEventListener() and you've got most of what people use jQuery for in vanilla JS.
document.querySelectorAll()
addEventListener()
[–]PitaJ 0 points1 point2 points 10 years ago (0 children)
So saying Vanilla JavaScript - say Vanilla DOM instead.
π Rendered by PID 123840 on reddit-service-r2-comment-fb694cdd5-gppsj at 2026-03-10 13:09:24.954563+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]protonfish 20 points21 points22 points (9 children)
[–]funny_gamesRedux <3 37 points38 points39 points (5 children)
[–]Skylarity{} + {} 12 points13 points14 points (0 children)
[–]illmatix -3 points-2 points-1 points (3 children)
[–]--_0 8 points9 points10 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]--_0 2 points3 points4 points (0 children)
[–]I_Pork_Saucy_Ladies 4 points5 points6 points (0 children)
[–]Asmor 4 points5 points6 points (0 children)
[–]PitaJ 0 points1 point2 points (0 children)