--- id: 587d781b367417b2b2512abd title: 段落要素と対比して見出し要素のサイズを調整する challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bRPTz' forumTopicId: 301037 dashedName: adjust-the-size-of-a-heading-element-versus-a-paragraph-element --- # --description-- 見出し要素 (`h1` から `h6`) のフォントサイズは、通常は段落タグのフォントサイズより大きくなるべきです。 そうすることにより、ページ上のあらゆる物のレイアウトと重要度がユーザーにとって視覚的に理解しやすくなります。 要素内のテキストのサイズを調整するには `font-size` プロパティを使用します。 # --instructions-- 見出しを段落よりも大幅に大きくするために、`h4` 要素の `font-size` を 27 ピクセルに変更してください。 # --hints-- `h4` 要素に、27 ピクセルに設定した `font-size` プロパティを追加してください。 ```js assert($('h4').css('font-size') == '27px'); ``` # --seed-- ## --seed-contents-- ```html

Alphabet


Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

``` # --solutions-- ```html

Alphabet


Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

```