Learn to Program with JavaScriptLearn to Program with JavaScript: A Self-Teaching Guide
by Chris Kennedy

Download learning_to_program.zip (example files).


Learn the core ideas and skills needed to begin programming in any language on any platform. Author Chris Kennedy uses JavaScript to explore the syntax and semantics of a programming language, and shows you how to write and execute your first program and understand what’s going on under the hood. Along the way, you’ll explore other programming languages, including C, Java, and Python, and learn the reasons to choose one language over another. Each lesson builds on the preceding one, so even if you’ve never written a line of code, you’ll gain enough hands-on experience to be comfortable approaching any language. You can download the source code to follow along with all the examples.


1. Programming Basics
2. Writing Your First Program
3. Variables & Data Types
4. Conditional Code
5. Functions
6. More About Strings
7. Arrays
8. Programming Style & Pseudocode
9. Input & Output
10. Errors & Debugging
11. Objects
12. Advanced Topics
13. Next Steps


Amazon preview


   Amazon paperback (US, CA, UK, AU, DE)

   Amazon Kindle (US, CA, UK, AU, DE)
   Apple Books (US, CA, UK, AU, DE)
   Barnes & Noble Nook
   Google Play