Leanpub Header

Skip to main content

Learn to Code Websites: HTML, CSS & JavaScript for Beginners

Go from a blank file to a real, published website that looks great and actually does things, in three friendly books.

Bought separately

$42.00

$34.00

You pay

Author earns

$

Also available for 2 book credits with a Reader Membership

The following 3 books are included in this bundle...

These books have a total suggested price of $42.00. Get them now for only $34.00!
About

About

About the Bundle

HTML gives a website its structure, CSS gives it style, and JavaScript brings it to life. This bundle teaches all three, in order, with one project running through every book: a three-page personal website you build, style and make interactive yourself. No experience needed.

Who it's for
  • Complete beginners who have never written a line of code
  • Students who want a clear, structured path into web development
  • Creators and small business owners who want to build or understand their own site
  • Career changers taking their first step into tech
What's inside
  • HTML Hero (2nd edition, 97 pages, 11 chapters): build a real multi-page website from scratch, one tag at a time.
  • Captain CSS (2nd edition, 152 pages, 12 chapters): style that site with modern CSS, including Flexbox, Grid, responsive design and dark mode.
  • Super Script (156 pages, 11 chapters): bring it to life with modern JavaScript.
  • Companion project files with each book: the finished website after each stage, so you can check your work. Every JavaScript file is commented and linked to the chapter that explains it.
  • In every book: hands-on missions, a recap and quick quiz at the end of each chapter, answers, a cheat sheet and a glossary.
What you'll build

A personal website with Home, Projects and Contact pages. By the end it has a sticky navigation bar, a gradient hero banner, project cards in a responsive grid, a dark mode that remembers each visitor's choice, project filter buttons, and a contact form with friendly error messages. Then you publish it online for free.

Why the bundle?

You save $8 compared with buying the three books separately, and the books are written to follow each other: each one picks up the site exactly where the last left off.

Questions? Email support.olliecode@gmail.com.

Share this bundle

Books

About the Books

HTML Hero

HTML Hero

A Beginner's Guide to HTML (2nd Edition)

Every website you've ever visited is built on HTML. HTML Hero teaches it from the very first step: no experience, no special software, no computer science degree. If you can create a folder and save a file, you can learn HTML.

Who it's for
  • Complete beginners who have never written a line of code
  • Students who want a clear, structured introduction to web development
  • Creators, marketers and small business owners who want to understand their own website
  • Career changers taking their first step into tech
What's inside
  • 97 pages, 11 chapters: text, links and navigation, images and media, semantic page structure, tables, forms, interactive HTML (details, popovers, dialogs), accessibility and SEO, and publishing your site
  • A hands-on mission, a recap card and a quick quiz in every chapter, with all the answers
  • An HTML cheat sheet and a glossary
  • "Modern HTML" boxes that cover features older tutorials miss
  • The finished project files (ZIP), to check your work
What you'll build

A three-page personal website: a Home page with an introduction, skills and an FAQ; a Projects page with image cards and a table; and a Contact page with a complete, accessible form. In the last chapter you publish it online for free with Netlify Drop or GitHub Pages.

FAQ
  • Do I need any experience? No. Chapter 1 explains what HTML is and walks you through setting up a free code editor.
  • What do I need? A computer (Windows, Mac, Linux or ChromeOS), an up-to-date browser and Visual Studio Code, which is free.
  • What's new in the 2nd edition? It was fully revised in November 2026. It now covers modern features such as popovers and the dialog element, plus an accessibility checklist, SEO and social sharing basics, and a publishing chapter.
  • What comes next? Captain CSS takes the exact site you build here and makes it beautiful. Super Script then adds JavaScript.
  • What format is it? A PDF you can read on any device, plus a ZIP of project files.
  • Questions? Email support.olliecode@gmail.com.
Captain CSS

Captain CSS

A Beginner's Guide to Modern CSS (2nd Edition)

HTML gives a website its structure. CSS gives it style: the colors, the fonts, the layout, and the way it reshapes itself for a phone. Captain CSS teaches modern CSS from the ground up. It skips the hacks and workarounds of ten years ago and teaches Flexbox, Grid, custom properties and container queries.

Who it's for
  • Beginners who know a little HTML: headings, paragraphs, links, images and lists. (New to HTML? Start with HTML Hero.)
  • Designers who want to bring their designs to life in the browser
  • Self-taught coders who learned CSS from scattered tutorials and want to fill the gaps
  • Creators and small business owners who want to customize their own websites
What's inside
  • 152 pages, 12 chapters: selectors, the cascade and specificity, colors and custom properties, typography, the box model, positioning, Flexbox, Grid, responsive design, transitions and animations, and styling forms and tables
  • A hands-on mission, a recap and a quick quiz in every chapter, with all the answers
  • Rendered browser previews, so you see exactly what each property does
  • A CSS cheat sheet, including a starter stylesheet, and a glossary
  • The starter and finished project files (ZIP)
What you'll build

You take the three-page site from HTML Hero and transform it, one chapter at a time. It gets a sticky navigation bar, a gradient hero banner, project cards in a responsive grid, a styled contact form, hover effects, a dark mode, and a layout that adapts to phones.

FAQ
  • Do I need HTML Hero first? Not if you know basic HTML. The starter site is in the project files, so you can begin right away.
  • What do I need? A computer, an up-to-date browser and Visual Studio Code, which is free.
  • What's new in the 2nd edition? It was fully revised in November 2026 and covers modern CSS: native nesting, container queries, cascade layers, dark mode, color contrast and reduced-motion support.
  • What comes next? Super Script adds JavaScript to the same site.
  • What format is it? A PDF you can read on any device, plus a ZIP of project files.
  • Questions? Email support.olliecode@gmail.com.
Super Script

Super Script

A Beginner's Guide to JavaScript

HTML gives a website structure and CSS gives it style. JavaScript gives it behavior: the button that switches on dark mode, the form that tells you kindly what you missed, the list that filters itself as you click. Super Script teaches modern JavaScript from the very beginning, one idea at a time. You try each idea straight away and use it to add a real feature to a real website.

Who it's for
  • Beginners who know some HTML and CSS. (New to both? Start with HTML Hero and Captain CSS.)
  • Designers who want to make their designs interactive
  • Self-taught coders who copied JavaScript snippets and want to finally understand them
  • Anyone curious about programming. JavaScript is a friendly first language, and what you learn carries over to others.
What's inside
  • 156 pages, 11 chapters in two halves. Chapters 1 to 6 teach the language in the browser console: values, variables, decisions, functions, arrays, loops and objects. Chapters 7 to 11 connect it to the page: the DOM, events, smarter forms, saving and loading data, and modules.
  • A hands-on mission, a recap and a quick quiz in every chapter, with all the answers
  • Debugging habits, plus how to read error messages without panicking
  • A JavaScript cheat sheet and a glossary
  • The finished project files (ZIP), with every JavaScript file commented and linked to the chapter that explains it
What you'll build

You bring the website from the first two books to life, one feature per chapter:

  • a greeting that changes with the time of day
  • a light and dark theme button that remembers each visitor's choice
  • filter buttons that show only the projects for one skill
  • extra project cards loaded from a data file
  • a contact form with friendly error messages, a live character counter and a thank-you note
  • a one-click "Copy email address" button

Then you publish the finished site online.

FAQ
  • Do I need the first two books? Not if you can already build and style a basic page. The styled starter site is in the project files.
  • What do I need? A computer, an up-to-date browser and Visual Studio Code, which is free. Chapter 1 shows you how to run a simple local server.
  • Is this modern JavaScript? Yes. It was written in 2026 and teaches today's JavaScript: const and let, arrow functions, modules, fetch, and the ?. and ?? operators.
  • What format is it? A PDF you can read on any device, plus a ZIP of project files.
  • Questions? Email support.olliecode@gmail.com.

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.

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.)

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