Be Brav3

FCC Challenge 12: Change the Font Size of an Element

March 06, 2016

In FCC Challenge 12 we’re creating a second p element and changing the p element style font size:

[html]

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

[/html]

The code should look like:

[html]

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

[/html]

Font size is controlled by the font-size CSS property, like this:

[css]

h1 {

font-size: 30px;

}

[/css]

Create a second p element after the existing p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Inside the same [css]