… until I failed a technical interview I thought I aced!
The first time I got in touch with JavaScript was when it was still cool to use ViewSourc...
For further actions, you may consider blocking this person and/or reporting abuse
Great advice
In my experience, a two-fold approach works well: vigorous study combined with practical experience.
You can learn JavaScript here: hackr.io/tutorials/learn-javascript
As far study goes, some books and sites are better than others, but you could hardly go wrong going through the entirety of Eloquent Javascript ( eloquentjavascript.net/co... ). The online version has amazing interactive examples and exercises. Upon completion, Cody Lindley's JavaScript Enlightenment ( javascriptenlightenme... ) is a solid read for the intermediate JavaScripter. Lean heavily upon the MDN's JavaScript docs ( developer.mozilla.org/en... ) and try to avoid W3 Schools ( for reasons why, see w3fools.com/ ).
Concerning practical application, the best advice is to build something. Anything. Decide upon a simple problem to solve, and attempt to solve it. JS Fiddle ( jsfiddle.net/ ) is a great testing ground, and makes it easier to share and collaborate on examples. Read other people's source, change it, break it, fix it. Become intimately acquainted with WebKit Developer Tools' JavaScript console and Firebug's JavaScript console.
There aren't really very many shortcuts, though it is easier than it has ever been to learn to write solid JS. Practice makes perfect. :)
For practice, my suggestion would be to write something that you personally find cool/interesting. Doesn't have to be for anyone else, hell doesn't need to be for the web even.
The project where I've learned the most about JavaScript is on a chat based automation system I've written (and re-written). Build something weird and interesting that will get you enthused about what you're doing.
Wonderful advice.
Besides reading JS books,MDN,watching videos ,
I found digging into Underscore,lodash,jquery source code very helpful.There is so much good stuff to learn in these libraries.
If you can write most of these libraries functions in vanilla javascript then you are good.
Like this: github.com/oneuijs/You-Dont-Need-j...
I actually wrote and published this article a couple of years ago on Medium, but I thought it might be a good first post here on dev.to()! 🙂
You got more feedback and responses in dev.to :-)
Still super valuable!
I think this article would be more insightful if you actually said what was the technical interview questions you actually failed.
Everyone fails it's a common thing you can only learn from your failures and do better next time. Also a technical interview for a junior developer and they fail you on
we don't like your style
????That is ridiculous theres a reason why it is called "junior" you are meant not to have a clue and eventually gain experience and learn from the projects you build.
What was the exercise and what did you come up with?
My Advice:
Learn Javascript fully. Know what an Object prototype is, how scopes work, how the 'this' concept works
Don't copy and paste code while learning, write the code (unless you are repeating the same block all the time). Don't assume that you could write that code on the book. It's the only way you'll become familiar with the syntax and notice the common errors.
Listen to Javascript podcasts, and give chance to some Javascript Tutorials to reach you through youtube or any other source you prefer.
Be patient. The moment you google something, you'll see a lot of results including some javascript libraries that have simplified what you are looking for. Avoid those options if you are still learning
Build stuff that you are proud of. Even the simplest 'Hello world' javascript script can got to your github. Use that to track your progress. Don't track your progress against advanced Javascript developers. Remember, they all started at the same level
Don't forget to develop your testing skills. Javascript does not have a compiler, make sure you get into the habit of testing all your code before it's too late.
Best way to learn Javascript (Worked really well for me): hackr.io/tutorials/learn-javascript
learn OOP concepts like really learn them and meditate them
and always learn to code and code to learn
It's, at least, equally beneficial to learn the functional concepts.
Such a timely article for me! Thanks for this. :)
In fact, the DOM API itself is not part of the JavaScript specification. It is supplied by the host environment, in most cases the browser.
This applies for everything in life. You think you know how to handle your marriage? No, go to the basics, read 3 JS books and there you go. Jk.
Don't fall victim of learning just libraries.
Awesome :-)
excellent advice !! almost a roadmap
Useful advice for beginner.