The Complete Guide to Living Sustainably

Learn how to reduce your carbon footprint and live a more sustainable lifestyle with these practical tips.

Mumin Bhat

6 min read
The Complete Guide to Living Sustainably

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Iure vel officiis ipsum placeat itaque neque dolorem modi perspiciatis dolor distinctio veritatis sapiente, minima corrupti dolores necessitatibus suscipit accusantium dignissimos culpa cumque.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters.

  1. We want everything to look good out of the box.
  2. Really just the first reason, that is the whole point of the plugin.
  3. Here is a third pretend reason though a list with three items looks more realistic than a list with two items.

Typography should be easy

So that is a header for you — with any luck if we have done our job correctly that will look pretty reasonable.

Something a wise person once told me about typography is:

Typography is pretty important if you do not want your stuff to look like trash. Make it good then it will not be bad.

It is probably important that images look okay here by default as well:

Article illustration
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Iure vel officiis ipsum placeat itaque neque dolorem modi perspiciatis dolor distinctio veritatis sapiente

Now here is an example of an unordered list to make sure that looks good, too:

  • So here is the first item in this list.
  • In this example we are keeping the items short.
  • Later, we will use longer, more complex list items.

And that is the end of this section.

Code should look okay by default.

I think most people are going to use highlight.js or Prism or something if they want to style their code blocks but it would not hurt to make them look okay out of the box, even with no syntax highlighting.

function tick() {
  const element = (
    <div>
      <h1>Hello, world!</h1>
      <h2>It is {new Date().toLocaleTimeString()}.</h2>
    </div>
  );
  ReactDOM.render(element, document.getElementById('root'));
}

Hopefully that looks good enough to you.

We still need to think about stacked headings though.

Let us make sure we do not break that with h4 elements, either.

Phew, with any luck we have styled the headings above this text and they look pretty good.

Let us add a closing paragraph here so things end with a decently sized block of text.

WRITTEN BY

Mumin Bhat

A few minutes