Editor's note (2026): The original 2014 version of this post linked to free downloads on a site that distributed copyrighted books without permission. We've removed those links. The books below are listed for reference; buy them from the publisher or borrow them from a library. We've also added free, legitimate resources, and updated outdated code advice.
JavaScript was created at Netscape in 1995. It lets developers control how web pages behave in ways HTML and CSS alone can't, and today it also runs on servers (Node.js), in mobile apps, and beyond.
What makes a professional JavaScript developer?
- Know how the language works: scope, closures, prototypes and classes,
this, and asynchronous code (callbacks, promises,async/await). - Work without a framework when needed. Frameworks change; the fundamentals don't.
- Organize and test your code: modules, clear structure, automated tests.
- Understand performance and memory, including how garbage collection works.
- Design clean APIs that other developers can use.
With JavaScript you can respond to user actions, validate forms before they're submitted, work with cookies and browser storage, show dates and times, update content without reloading the page (the technique once called AJAX, now usually done with fetch), and even build games.
Modern basics
- Keep JavaScript in separate files from your HTML and CSS.
- Load scripts with
<script src="app.js" defer></script>or as modules with<script type="module">. The oldlanguage="JavaScript"attribute is obsolete. - Scripts can go in the
<head>(withdefer) or at the end of the<body>.
Classic JavaScript books
Some of these are dated, but many teach fundamentals that still apply. Look for newer editions where available.
- Pragmatic Guide to JavaScript
- Head First JavaScript Programming
- High Performance JavaScript
- JavaScript: The Good Parts
- JavaScript Patterns
- JavaScript Cookbook
- JavaScript Web Applications
- JavaScript & jQuery: The Missing Manual
- JavaScript: The Definitive Guide (7th edition is current)
- Professional JavaScript for Web Developers (4th edition is current)
- Supercharged JavaScript Graphics
- Beginning iOS Application Development with HTML and JavaScript
- Maintainable JavaScript
- Mobile JavaScript Application Development
- Pro JavaScript for Web Apps
- Professional XMPP Programming with JavaScript and jQuery
- HTML5 and JavaScript Web Apps
- Async JavaScript
- Pro JavaScript Performance
- JavaScript Enlightenment
Free, legitimate resources
- MDN Web Docs: JavaScript
- Eloquent JavaScript (free online edition from the author)
- You Don't Know JS Yet (free on GitHub from the author)
- The Modern JavaScript Tutorial
Need help with a JavaScript or web development project? I.T. For Less can help — contact us.