Click here to view more cat photos.

Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
--- id: bad87fee1348bd9aede08807 title: Set the Font Family of an Element challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bvpCg' forumTopicId: 18278 dashedName: set-the-font-family-of-an-element --- # --description-- You can set which font an element should use, 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; } ``` # --instructions-- Make all of your `p` elements use the `monospace` font. # --hints-- Your `p` elements should use the font `monospace`. ```js assert( $('p') .not('.red-text') .css('font-family') .match(/monospace/i) ); ``` # --seed-- ## --seed-contents-- ```html
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate:
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: