Assignment 1: Text formatting with HTML

  1. Login to CodePen and open a new Pen

  2. Come up with a inspirational quote about webdesign or programming.

📑 HTML

  1. Now we need to bring in some order using HTML. So this is how it works:

These tags might help you with this task:

To find out more, check out these links:

Don’t try to solve this task as quickly as possible, but rather have a look at all the options, experiment a little bit and get comfortable to HTML.

🎨 CSS

  1. Now we need to make this more beautiful using CSS. This is how it works:

The h1 css selector applies the style to the <h1> HTML element. Note that html and body are inserted for us by CodePen, so we do not have to type them in HTML, but can style them with CSS. Also check out how the text color is set individually for the h1, while the p inherits it from html.

These style properties might help you:

Learn more:

You don’t have to decide for one final result, but rather feel free to create multiple pens with different stylings.

Sharing our work

Once you’re done, share it with your groupmates and also do not forget to send it to me, so that it can be included on this website.