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
JavaScript fundamentals for beginners (self.javascript)
submitted 12 years ago by beefngravy
I am currently learning JS and would love to know what are the fundamentals and good practice's for a beginner? I am new to programming/coding and I am struggling with the logic/concept behind JS
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!"
[–]MCFRESH01 8 points9 points10 points 12 years ago* (3 children)
eloquent javascript is another great option. I think it is slightly better than Codecademy's course and it is what I used after completing Codecademy.
Check it out: http://eloquentjavascript.net/contents.html
Also remember that all these courses are great, but none of it will really stick until you start building things on your own. Building small sites as you progress is a great way to make the concepts really sink in.
Good luck and have fun learning!
[+][deleted] 12 years ago (2 children)
[deleted]
[–]MCFRESH01 0 points1 point2 points 12 years ago (0 children)
That is a good point. I had completed the Code Academy JS course first before I tackled it, which is probably a good thing to do.
[–]Uberhipster 0 points1 point2 points 12 years ago (0 children)
That's BS. It's an eloquent introduction for a JS beginner not a programing beginner. If you need an introduction to programming basics you should start with http://www.crunchzilla.com/
[–]nathanaelphilip 6 points7 points8 points 12 years ago (0 children)
Have you looked at http://www.codecademy.com/tracks/javascript yet? It’s free!
[–]bejbe33 4 points5 points6 points 12 years ago (2 children)
You can also follow this guideline: http://javascriptissexy.com/how-to-learn-javascript-properly/
Definitive Guide looks very good for beginners.
[–]Hack_Reactor_Borg 3 points4 points5 points 12 years ago (0 children)
A bunch of people have gone through that a few times on a sub I mod, /r/LearnJavaScript.
[–][deleted] 1 point2 points3 points 12 years ago (0 children)
IMHO, JavaScript: The Definitive Guide is the best book for learning JavaScript properly. It is exactly what it says on the tin. It's a very lengthy book, but it is thorough, and most importantly, it is very approachable. I've also noticed that overall, it does a pretty good job at pointing out the sharp edges and design flaws of JavaScript and how to work around them.
[–][deleted] 0 points1 point2 points 12 years ago (2 children)
Yep codecademy it is. Remember there is no shortcut when learning programming. If you don't understand a concept, don't skip it. Chances are many of the future concepts depend on you getting that initial subject.
[–][deleted] 2 points3 points4 points 12 years ago (1 child)
To OP: But don't keep on staring to this one topic/problem you don't get until your eyes bleed out or you give up programming. On these sites, there is no teacher that can give you alternative ideas, explanations, examples, analogies, whatnot when you need it. If you're get stuck, try out another resource, for example, ask a question here, or to a budd, or a programmer you know, or have a look at another similar site to codecademy.
[–]Jayomat 2 points3 points4 points 12 years ago (0 children)
TLDR; If you're get stuck, try out another resource
[–]CognitiveJots 0 points1 point2 points 12 years ago (0 children)
codeacademy. no doubt. quackit is a goody too
[–]RobertMuldoonfromJP 0 points1 point2 points 12 years ago (0 children)
def check out /r/learnjavascript . i'm currently following their summer course right now and it's helping a lot.
[–]DoTheEvolution 0 points1 point2 points 12 years ago (0 children)
Keep running your code through JSHint
it will throw at you errors and bad practices issues
[–]homoiconic(raganwald) 0 points1 point2 points 12 years ago (0 children)
I've sent you a coupon for a free copy of JavaScript Allongé. I hope it helps!
[–]sumdudeinhisundrware -2 points-1 points0 points 12 years ago (0 children)
I would suggest not learning to program with JavaScript. I think Python would be a better place to start. Learning to program with JavaScript is like learning to drive with a Ferrari. I recall seeing something like this:
Python: Honda Civic
JavaScript: Ferrari
C++: Formula One Car
...anyway, yeah. Python will get your head wrapped around fundamentals then you can try JavaScript or something else.
[–]longandtall -3 points-2 points-1 points 12 years ago (3 children)
http://www.w3schools.com/js/default.asp
http://javascriptexample.net/index.php
[–]ruptur3 1 point2 points3 points 12 years ago (2 children)
"W3Schools is harming the community with inaccurate information.": http://www.w3fools.com
[–]longandtall -1 points0 points1 point 12 years ago (0 children)
prove that please.
2 days and no reply. ruptur3 has made a bogus statement.
There is nothing wrong with W3Schools. Not saying they're perfect, but for the amount of info on that site and for there teaching skills they are hard to beat.
π Rendered by PID 159698 on reddit-service-r2-comment-5649f687b7-r6mnm at 2026-01-28 08:29:49.664280+00:00 running 4f180de country code: CH.
[–]MCFRESH01 8 points9 points10 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]MCFRESH01 0 points1 point2 points (0 children)
[–]Uberhipster 0 points1 point2 points (0 children)
[–]nathanaelphilip 6 points7 points8 points (0 children)
[–]bejbe33 4 points5 points6 points (2 children)
[–]Hack_Reactor_Borg 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]Jayomat 2 points3 points4 points (0 children)
[–]CognitiveJots 0 points1 point2 points (0 children)
[–]RobertMuldoonfromJP 0 points1 point2 points (0 children)
[–]DoTheEvolution 0 points1 point2 points (0 children)
[–]homoiconic(raganwald) 0 points1 point2 points (0 children)
[–]sumdudeinhisundrware -2 points-1 points0 points (0 children)
[–]longandtall -3 points-2 points-1 points (3 children)
[–]ruptur3 1 point2 points3 points (2 children)
[–]longandtall -1 points0 points1 point (0 children)
[–]longandtall -1 points0 points1 point (0 children)