r/learnprogramming • u/yankexe • Jun 28 '18
Hands down the best place to learn Javascript for beginners.
javascript.info I have tried learning JS from a lot of places online but when I came across this site everything changed for me. All of the contents are well curated and topics are explained in simple terms along with figures sometimes to explain the concept.
edit: The complete course on Javascript is open source.
You can contribute to it from here: Github Page for Javascript.info
54
u/apugoneappu Jun 28 '18
https://www.freecodecamp.org is way too underrated!
34
u/yankexe Jun 28 '18
FCC is totally awesome! It brushes you up from a complete beginner and prepares you up to a job interview, and that too for FREE! But with too many contents, it might be overwhelming for someone who wants a crash course on JS. The Odin Project is also a great starter which covers all the basics of JS and even some popular Front-End libraries like React, Angular and Vue.
10
Jun 28 '18
I love fCC. With that said, the gap between the exercises and the projects can be a bit too large.
8
u/BetterPhoneRon Jun 28 '18
I think that gap is what makes you a good developer, it teaches you to do your own research. But I can see how people can be put off by that as they might quit when exercises get tougher.
I personally struggled with the most basic front end projects and almost gave up. I then signed up for Colt Steele's Web Developer Bootcamp which really helped solidify what FCC had taught me so far and also taught me many new concepts.
So a combination of FCC and Colt Steele's Web Developer Bootcamp is what works for me really well.
3
Jun 28 '18
Yep. I'm not that good yet, but I'm learning to research and leverage other resources for these projects. Even scrolling through codepen is fair-game in my book, as long as I put in my own personal touch I'm happy :)
6
27
u/owen800q Jun 28 '18 edited Jun 28 '18
Free code academy is a good online learning resources Try to read these two free ebooks
Eloquent JavaScript
You don't know JS
25
6
u/dandmcd Jun 28 '18
Eloquent JS is for people who already have a vague idea of programming, perhaps coming from another language background. Not for true beginners. It's a good intermediate source to reinforce what you have learned though.
YDKJS doesn't even pretend to be for beginners.Those books are too advanced, IMO.
5
u/spore_777_mexen Jun 28 '18
Yup, and Eloquent JavaScript author just finished editing the 3rd edition. The digital version can be read for free and the paperback will be available in October (iirc).
It's a good read.
15
u/LjSpike Jun 28 '18
TBH I don't really get along with code academy that great. I prefer referencing W3Schools for a lot of stuff. This javascript.info place looks like it might be for me though. Nice and neat and some code snippets around the place.
3
u/thejemmeh Jun 28 '18
I'm brushing up on javascript with codecademy right now and I actually don't think their new course is very good for a beginner programmer. They gloss over a lot of core concepts like variables and functions imo. I actually really liked their old course for it, but it's for ES5.
1
1
Jun 28 '18
I used FCA, and it really helped me with structuring the JS code. I got right to where it starts bumping into CSS. I need a computer so I can get back in to it.
1
1
Jun 28 '18
Is “you don’t know JS” available for free on Apple Book / iBook whatever they call it now?
1
-1
Jun 28 '18
Tbh even though eloquent JavaScript is recommended for people with a math/cs background, I found it too slow to read since I just wanted to know how to hack together a web app, not all the intricacies of JavaScript
Not only that but most of the information about the language that wasn't syntax I could already infer most/know due to my knowledge of how c based languages work
2
u/DiamondxCrafting Jun 28 '18
Something for python perhaps?
1
72
u/Spasmochi Jun 28 '18 edited Jun 28 '18
I'd also recommend Khan Academy to absolute newbies. Very friendly material and a great interface.
EDIT: I linked "Khan Academy" to the computing page on the site.
EDIT 2: Also, Khan Academy does offer content for intermediate JS learners.
17
6
2
Jun 29 '18
The instructor for their CS courses is wonderful. Makes coding feel whimsical, creative, and fun!
2
1
u/monsto Jun 28 '18
Khan Academy has a JS course? Sheeeeit
1
u/Spasmochi Jun 29 '18
I'd definitely recommend checking it out. It has material aimed at different levels of competency and a good sql section as well.
1
u/xDeucEy Jun 29 '18
It's odd actually. I've used khanacademy for some math stuff in the past, but I didn't even bother looking at the computer science section. My gf, who has absolutely zero familiarity with anything computer science related (she's a teacher), just randomly decided to do some of the courses on there because she knows it's what I do for a living and she couldn't stop lol. It was actually interesting seeing her understand how to use functions and draw snowmen haha.
28
u/CowboyBoats Jun 28 '18
The Ninja Code section is some funny shit.
Make the code as short as possible. Show how smart you are.
Let subtle language features guide you.
For instance, take a look at this ternary operator '?':
// taken from a well-known javascript library i = i ? i < 0 ? Math.max(0, len + i) : i : 0;Cool, right? If you write like that, the developer who comes across this line and tries to understand what is the value of i is going to have a merry time. Then come to you, seeking for an answer.
Tell him that shorter is always better. Initiate him into the paths of ninja
14
3
u/andrazte Jun 29 '18
One of the comments said that he found the material great and is willing to follow NONE of them. That really made me laugh.
12
Jun 28 '18
Another one I took and loved is Practical Javascript from Watchandcode.com
2
1
u/bluey89 Jun 28 '18
Watchandcode.com
Does it give you confidence in building your own apps or are you mostly coding and copying along?
2
Jun 28 '18
It does! After the course, I built my first Javascript app without any hand holding and it was so great. Would have linked it but then there goes my identity. Take the course, I promise you won't regret it.
2
1
u/bluey89 Jun 29 '18
You could also pm it, I'd love to check it out but understand if you wanna stay private. I started this morning on your recommendation and am 76% through, thanks for the motivation!
Planning to do the paid course after, it seems doable in < 1 month though it is a lot of content. If anyone has first hand experience on the paid course I'd love to hear them.
1
4
2
1
2
2
u/perky_coder Jun 28 '18
Thanx for sharing this info, I have picked up reading JS from eloquent java script, and found it decent.
2
2
u/emile_il Jun 28 '18
Watch and Code by Gordon Zhu is great if you know the fundamentals and want to build something while gaining a deeper understanding of the concepts.
2
2
1
1
u/_scoobydoob Jun 28 '18
Would also recommend this series of free books on github for a more in depth overview of how JavaScript works as a programming language.
https://github.com/getify/You-Dont-Know-JS/blob/master/es6%20%26%20beyond/README.md
1
1
1
Jun 29 '18
I’ll add this to my bookmarks and check it out when I have time tomorrow. One resource that has worked great for me is codecademy. Its not a free resource but I find the constant programming and building off previous topics really drives home what the current section is about. One resource is never enough, though!
1
u/atomicfunc Jun 29 '18
In my opinion this is the best book to understanding and learning js: https://www.amazon.com/gp/aw/d/1593275404/ref=dbs_a_w_dp_1593275404 Very simple and understanding content with code examples. I reccomend this book.
1
-4
u/SixFigureGuy Jun 28 '18
Is there any reason to deep dive into JavaScript, when typescript seems to be the growing natural replacement? At this point I’m willing to hire someone with typescript experience even if they’ve never used JavaScript.
5
Jun 28 '18
What is type script?
6
Jun 28 '18
Typescript is a programming language that transpiles to Javascript (that means you write TS, and then run a command that transforms it into JS; browsers don't natively understand TS). Its main feature over JS is adding static typing, which makes it easier to catch errors at compile time (while you're writing code) instead of at run time (while the code is running).
1
u/dandmcd Jun 28 '18
There arent any strictly typescript beginner courses for one. 2nd, if you learn JavaScript to an intermediate level, typescript takes no more than a couple hours to get a decent understanding of the differences.
1
u/yankexe Jun 28 '18 edited Jun 28 '18
exactly. You have to start somewhere with JS ¯_(ツ)_/¯
3
u/LimbRetrieval-Bot Jun 28 '18
You dropped this \
To prevent anymore lost limbs throughout Reddit, correctly escape the arms and shoulders by typing the shrug as
¯\\_(ツ)_/¯or¯\\_(ツ)_/¯
-1
u/eggn00dles Jun 28 '18
He advocates always using strict mode yet that's been debunked.
1
u/cheddarben Jun 28 '18
Have not taken the course, but isn't using strict an opinion? It is hard to debunk an opinion. An opinion that I think many great developers agree with.
I am not even saying he is wrong, but we dealing in some Sith shit right here.
1
u/eggn00dles Jun 28 '18
He's passing his opinion as a best practice.
Michael Haufe provided a more appropriate sample benchmark that seems to indicate that 'use strict'will not make our code run significantly faster (and may slow it down in some environments).
Should probably leave opinionated code practices out of a starter course.
1
u/teknewb Jun 28 '18 edited Jun 28 '18
Just a beginner, but is speed the only goal?
For example, there are many great software developers that hate object-oriented programming like the plague and believe it should be an abolished practice, but OOP is introduced in all beginner-intermediate courses.
My understanding is execution speed is certainly not the primary concern of OOP.
So I'm curious if there is any other purpose for 'use strict' here.
1
u/eggn00dles Jun 28 '18
It's just not a hard and fast rule. None of the major style guides (Google, AirBnB) have an opinion either way on use strict.
If you use it with a legacy codebase that isn't using it, you'll break the entire app.
1
1
u/teknewb Jun 28 '18
I should note that, without personally understanding the implications, I've seen some bootcamps (in their Precourse material) teaching this same best practice, so he's definitely not alone.
-1
u/A-dona-I Jun 28 '18
to the ones that are willing to pay a monthly fee, lynda. com and pluralsight are TOP F*****G NOTCH. those guys saved my life xd.
1
u/lance_klusener Jun 28 '18
Speifically what courses in pluralsight ?
2
Jun 29 '18
For javascript I'd recommend Mark Zamoyta's Rapid Javascript Training, Rapid ES6 Training, Object-oriented Programming in JavaScript - ES6 and Jim Cooper's Javascript's Objects and Prototypes.
1
u/A-dona-I Jun 28 '18
there is an infinite library of courses, in every language, there are beginner intermediate and advanced courses in javascript as well... All you need to do is writing javascript in the searchbar, if that's what you are looking for.
3
u/teknewb Jun 28 '18
My problem with many online subscription website "tracks", "paths", or general libraries of videos is it's harder to quickly figure out the quality of specific videos, and how up to date they are.
In a field like web development, especially frontend, I really would prefer not to have my time wasted (using this word lightly, really just not as efficiently) on outdated material.
At least with books, we tend to have at least some publishers from who we can have fairly predictable expectations as far as quality, and I find I can more easily identify how up to date this specific material is (publication date, preview sections of book, etc.).
A good halfway point here is http://www.safaribooksonline.com for an example I would say, though it has a lot of room for improvement.
-1
-5
73
u/zyzzogeton Jun 28 '18
You have to put http:// protocol identifier in your ()'s...
like this [javascript.info](http://javascript.info)