Leanpub Header

Skip to main content

JavaScript: The Parts

and How The Parts Fit Together

You can build things in JavaScript. You can ship them. You can make them work. But when someone asks you to explain what your code is doing, the words are not there — and neither is the understanding that would produce them. You learned by imitation. This book teaches you what you were actually doing.

Minimum price

$10.00

$20.00

You pay

$20.00

Author earns

$16.00
$
You can also buy this book with 1 book credit. Get book credits with a Reader Membership or an Organization Membership for your team.
PDF
About

About

About the Book

You can build things. You can ship things. You can make things work.

But when someone asks you to explain what your code is doing, the words are not there.

That gap is not a confidence problem. It is a foundation problem — and it has a specific cause.

Most JavaScript education starts with syntax. This book starts earlier. Before syntax, there is a concept. Before a concept, there is a problem the concept was invented to solve. Most teaching skips that problem entirely. Skipping it is why so many developers can produce output they cannot explain, use patterns they cannot justify, and carry a quiet suspicion that they are faking it.

JavaScript: The Parts closes that gap.

The PARTS Method

Every concept in this book is introduced in the same order: Problem, Answer, Reasoning, Terms, Syntax. First the need that makes the concept necessary. Then the idea that meets that need. Then the reasoning behind it. Then the precise vocabulary. Then the written form.

That order matters. Syntax first produces surface knowledge without foundation. Foundation first produces understanding that holds up — in interviews, in code reviews, and when the complexity gets real.

What this book covers

The book traces a careful chain from the simplest values through variables, expressions, conditions, loops, functions, scope, objects, references, mutation, prototypes, classes, async, and modules. Each concept earns its place by solving a problem the previous concept could not yet solve.

The language is precise where precision matters. A variable is not described as a container that holds a value — because that image breaks down. Reassignment is not described as changing a value — because the value does not change; the name does. These are not pedantic distinctions. They are the difference between an explanation that works now and one that keeps working as the ideas get more complex.

Who this book is for

Developers who learned JavaScript by following tutorials, copying patterns, and getting things to run — and who are ready to understand what they are actually doing.

Part of the Primitive Parts series

JavaScript: The Parts is the first book in a planned series covering the full self-taught developer curriculum — JavaScript through CSS, HTML, SQL, Git, Bash, Node, TypeScript, PHP, WordPress, Power BI, and beyond. Every book in the series follows the same philosophy: start with the smallest meaningful piece, build carefully from there, and never trade precision for false simplicity.

Share this book

Categories

Author

About the Author

Avalynn Circe

Avalynn Circe is a Minneapolis-based developer and writer with ten years of experience building data-driven interfaces, SaaS platforms, and API-connected systems across healthcare, finance, education, and enterprise environments. She has worked across the full stack — from Angular and React front ends to WordPress, PHP, and SQL-backed systems — and has spent much of her career translating complex technical work into language that non-technical people can act on.

JavaScript: The Parts grew out of a personal experience of learning the language by imitation, feeling the gap, and spending years building the foundation that formal instruction never provided. It is the first book in the Primitive Parts series, a planned collection of foundational technical guides covering the full self-taught developer curriculum.

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub