Learn Enough CSS & Layout to Be Dangerous

Jun 20, 2017 • posted by Michael Hartl

We've just launched the Learn Enough CSS & Layout to Be Dangerous ebook!

At ten chapters and over 500 pages of content, Learn Enough CSS & Layout to Be Dangerous is the most ambitious Learn Enough tutorial yet.

As a special launch discount, for the next week you can get the ebook for only $19 (regular price $24). Every purchase includes all three common ebook formats (PDF, EPUB, MOBI/Kindle).

Learn Enough CSS & Layout to Be Dangerous teaches not only Cascading Style Sheets, the design language of the World Wide Web, but also the often-neglected complementary subject of page layout.

No other front-end development tutorial puts everything together in quite the same way. By the end, you'll be able to design, build, and deploy a full, industrial-strength website.

It's the fastest route to having a marketable Web skill that we know of.

I'd like to add, on a personal note, that I learned a ton from coauthoring this tutorial with Learn Enough cofounder Lee Donahoe, who was the real brains behind the operation.

Believe me when I tell you that, whether you're a newbie or an experienced developer, you need to know the basics of CSS & Layout in the way only a real designer & front-end developer like Lee can teach it.

You don't have to take my word for it, either. One reader of an early draft wrote in to say:

I have only just finished reading the first four chapters, but I have to say that they are the best four chapters on CSS/Layout that I have ever read. Well done! Very much looking forward to reading the remaining chapters.

Another reader (a member of the Learn Enough Society) agreed:

This tutorial is brilliant, though. Can't wait to actually make my own proper website soon.

If you're already convinced, you can buy the ebook now for $19. But for those who like the nitty-gritty details, here's a chapter-by-chapter description of what you get:

In Chapter 1, you'll learn the basics of CSS declarations and values by starting with a few super-simple elements, with a particular focus on applying the DRY principle ("Don't Repeat Yourself"). In other words, you'll start by doing it right.

In Chapter 2, you'll learn CSS conventions that are important to get right at the beginning of a project, with a focus on managing complexity and maintaining flexibility by choosing good names for things. Most CSS tutorials ignore this essential aspect of good site design.

Chapter 3 introduces two of the most important kinds of CSS values: colors and sizes. These lay an essential foundation for Chapter 4 on the box model (which determines how different elements fit together on the page).

In Chapter 5 and Chapter 6, you'll take the page that you've been working on and factor it into a layout using a templating system called Jekyll, which lets you build professional-grade websites that are easy to maintain and update. This is the same static site builder used by the Obama '12 campaign to build the fundraising website that raised $250 million.

In Chapter 7, you'll learn how to make flexible page layouts using flexbox, adding layouts for a photo gallery page (to be filled in in Learn Enough JavaScript to Be Dangerous) and a blog with posts. This is cutting-edge stuff that I hadn't even heard of. (This is why you're glad Lee is the main author, not me.)

In Chapter 8, you’ll add the blog itself, thereby learning how to use Jekyll to make a professional-grade blog without black-box solutions like Wordpress or Tumblr. You'll have complete control over design and content, plus free hosting anywhere that can serve static HTML (like GitHub Pages).

Then, because a large and growing amount of web traffic comes from mobile devices, in Chapter 9 you'll learn the basics of using CSS and media queries to make mobile-friendly sites without violating the DRY principle.

Finally, in Chapter 10 you'll learn how to add the kinds of little details (like custom fonts and meta tags) that make a site feel complete. The result will be an industrial-strength, nicely styled site deployed to the live Web.

By the end, you'll have a complete grounding in the basics of front-end development.

If you're like me, you'll wonder how you ever did without it.

Learn Enough CSS & Layout to Be Dangerous is also a living document—we're always fixing little typos and bugs, and polishing things up here and there. When you buy the ebook, you get these updates for free (for life!) just by downloading the latest version.

We also offer a full 60-day money-back guarantee, no questions asked.

Learn Enough CSS & Layout to Be Dangerous has been a long time in the making, and I'm thrilled with the result.

It's the best all-in-one introduction to front-end development I know of.

I hope you enjoy it!



P.S. Remember, buy the Learn Enough CSS & Layout to Be Dangerous ebook in the next week and get it for only $19 (full price $24).

Discuss this post on Hacker News

new-tutorial , front-end