Learning JavaScript!
Learning JavaScript can be a rewarding experience, especially if you’re interested in building web and mobile applications. In this post, I’ll share some resources that I found helpful when I was learning JavaScript.
Starting with the Basics
If you already know a programming language, you’re halfway there! You just need to get familiar with the syntax. A great way to do this is by watching a JavaScript in 10min video on YouTube. It’s a quick and easy way to get started and understand basic usage.
Learning from Books
There are many books on JavaScript available on the market, but I found two books particularly helpful:
Eloquent JavaScript by Marijn Haverbeke
This book covers all the basics of JavaScript and more. It’s a great place to start if you’re new to programming in general. You can get the book on the official website or download the PDF.
You can order book from here and can download pdf from their website.
JavaScript: The Good Parts
This book is more advanced and covers more complicated concepts. I recommend going through Eloquent JavaScript first before moving on to this book. This book is written by highly experienced peoples from Yahoo!, Google so this book cover more complicated programming usecases.
You can try downloading pdf from this page.
Interactive Lessons
To practice and reinforce what you learn from the books, try going through the Secrets of the JavaScript Ninja tutorials while reading this books.
You can also refer w3schools website for the basics and it is very useful.
Setuping JavaScript Environment
Learning JavaScript with an HTML file can be challenging because you need to rebuild, save, and run the code every single time you make a mistake. To save time, you can use environmental tools such as Firebug.
Firebug integrates with Firefox and provides web development tools for editing, debugging, and monitoring CSS, HTML, and JavaScript live on any web page. Note that Firebug is not compatible with Firefox v43 beta and higher, so I recommend using it with lower versions.
And remember, the first step towards mastering coding is to make code meaningless! Keep practicing and have fun learning. 🙂