This project will require you to use a new tool called codepen.io. Codepen is similar to repl.it, but it allows you to write both HTML and CSS alongside your JavaScript, so that you can use JavaScript to manipulate your HTML.
Today we are going to run through several exercises, so you'll need to create a few codepens, then you can submit them here
In this exercise we will focus entirely on HTML.
Create a page that looks like the following link:
Remember to use ul
, p
and h1
tags to style your text.
In this exercise we will style text, and position an image using HTML and CSS, and we'll also add an image.
Create a page so that it looks like the following link, but find your own image and quote, and pick a color to go with the image. Place your <img>
tag inside of a <div>
tag.
Remember to check the documentation: MDN CSS Reference
You might find the following properties handy:
- Margin
- Padding
- Font Family
- Background-Color
- Border
In this exercise, we will position blocks of text and images with CSS.
Create a page so that it looks like the following link:
Remember to check the documentation: MDN CSS Reference
You might find the following properties handy:
- Float
- List Style
- Margin
If you're stuck, check out these tutorials, written by the makers of Firefox: