A Tutorial Introduction to Programming with JavaScript
Michael Hartl
JavaScript#
TDD#
DOM#
HTML#
NPM#
All You Need to Know, and Nothing You Don't, to Write JavaScript for the Web and Beyond
JavaScript plays a key role in modern software development, not only because it is the only language that runs inside virtually all web browsers, but also because it has become widely used for back-end and general-purpose development as well. Although JavaScript is a big language, you don't need to learn "everything" about it to get started, just how to use it efficiently to solve real problems. In Learn Enough JavaScript to Be Dangerous, renowned instructor Michael Hartl teaches the specific concepts, skills, and approaches you need to be professionally productive.
Even if you've never programmed before, Hartl helps you quickly build technical sophistication and master the lore you need to succeed. Treating JavaScript as a general-purpose language right from the start, Hartl offers examples for creating dynamic effects in browsers and for writing scripts and modules using Node.js. Focused exercises help you internalize what matters, without wasting time on details pros don't care about. Soon, it'll be like you were born knowing this stuff--and you'll be suddenly, seriously dangerous.
Learn enough about . . .
Michael Hartl's Learn Enough series includes books and video courses that focus on the most important parts of each subject, so you don't have to learn everything to get started--you just have to learn enough to be dangerous and solve technical problems yourself.
Table of Contents
Chapter 1. Hello, World!
Chapter 2. Strings
Chapter 3. Arrays
Chapter 4. Other Native Objects
Chapter 5. Functions
Chapter 6. Functional Programming
Chapter 7. Objects and Prototypes
Chapter 8. Testing and Test-Driven Development
Chapter 9. Events and DOM Manipulation
Chapter 10. Shell Scripts with Node.js
Chapter 11. Full Sample App: Image Gallery
Praise for Learn Enough Tutorials
"I have nothing but fantastic things to say about @LearnEnough courses. I am just about finished with the #javascript course. I must say, the videos are mandatory because @mhartl will play the novice and share in the joy of having something you wrote actually work!"
--Claudia Vizena
"I must say, this Learn Enough series is a masterpiece of education. Thank you for this incredible work!"
--Michael King
"I want to thank you for the amazing job you have done with the tutorials. They are likely the best tutorials I have ever read."
--Pedro Iatzky
Michael Hartl created the legendary Ruby on Rails™ Tutorial that helped jumpstart thousands of web development careers. A cofounder and principal author at Learn Enough, Hartl previously earned a Ph.D. in physics at the California Institute of Technology (Caltech), where he received a Lifetime Achievement Award for Excellence in Teaching. He is also an alumnus of Harvard University and the world-renowned Y Combinator entrepreneur program.