Be Brav3

FCC Challenge 13: Set the Font Family of an Element

March 06, 2016

For FCC Challenge 13 we need to set the font family for the p elements:

[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]

The updated 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]

You can set an element’s font by using the font-family property.

For example, if you wanted to set your h2 element’s font to Sans-serif, you would use the following CSS:

[css]

h2 {

font-family: Sans-serif;

}

[/css]

Make all of your p elements use the Monospace font.