In this challenge, you will learn to style a simple webpage using CSS. We've added some HTML elements for you to style, h1, h2, h3, h4, h5 and h6.
Remember: In CSS you need the target something e.g h2
,
tell it what you want to change e.g color
and tell it what you want to change it to e.g red
.
so as an example h2 {color: red}
would change the color of all h2
elements to red.
pink
.h2
element and change the color
to
red
h3
element and change the font-size
to
15px
(15 pixels)h4
element and change the font-size
to
30px
(30 pixels)h5
element and change the font-family
to
arial
h6
element and change the text-transform
to
uppercase
Your result should look like this: