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: 要素のフォントファミリーを設定する challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bvpCg' forumTopicId: 18278 dashedName: set-the-font-family-of-an-element --- # --description-- `font-family` プロパティを使用して、要素がどのフォントを使用するかを設定できます。 例えば、`h2` 要素のフォントを `sans-serif` に設定したい場合は、次の CSS を使用します: ```css h2 { font-family: sans-serif; } ``` # --instructions-- すべての `p` 要素に `monospace` フォントを使用するように設定してください。 # --hints-- `p` 要素はフォント `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: