beginner · languages
JavaScript from absolute zero
For someone who has never written a line of code. No prior programming, no assumed vocabulary, nothing skipped.
·
By Amit Chakraborty — Kolkata, India · Remote worldwide
Who this is for
non_technical
What you will be able to do
Write, run, debug and deploy a small JavaScript application, and read other peoples code without panic.
Syllabus — 14 chapters
- 1. What a program is, and running your first line today — Run JavaScript on your own machine within the hour, with nothing installed beforehand.
- 2. Values, variables and types — Hold the entire value model of the language in your head.
- 3. Making decisions: conditions and the traps — Write correct conditional logic and avoid the comparison mistakes the language invites.
- 4. Repeating work: loops and the array methods that replace them — Process a list of anything, in the way modern JavaScript actually does it.
- 5. Functions: arguments, return values and small pieces — Break a problem into functions instead of writing one long script.
- 6. Objects and arrays: the two shapes data takes — Model real information and read JSON without confusion.
- 7. The browser: the page, events and changing what is on screen — Make a web page respond to a click.
- 8. Asynchronous JavaScript: promises and async await — Write code that waits for a server without freezing or nesting.
- 9. Errors: reading them, and handling them — Turn a red console message into a specific next action.
- 10. Modules, npm and other peoples code — Use a library safely and understand what you just installed.
- 11. Node: the same language, away from the browser — Run JavaScript as a program on a server or your own machine.
- 12. Building something real, end to end — Assemble everything so far into one small working application.
- 13. Debugging as a method — Form a hypothesis, test it, and narrow down a bug instead of changing lines at random.
- 14. What to learn next, and how to judge a tutorial — Leave with a route rather than a list, and the ability to tell good material from bad.
0 of 14 published. A new chapter every Tuesday morning. Free to read.
Learn it free, elsewhere too
The documentation, videos, books and practice sites worth your time on this subject. All free. None of it is mine.