--- id: 587d781c367417b2b2512ac2 challengeType: 0 videoUrl: 'https://scrimba.com/c/cPpQNT3' forumTopicId: 301067 title: 设置多个标题元素的 font-size --- ## Description
font-size 属性用来指定元素内文字的大小。这个规则可以应用到多个元素上,合理的使用,能让页面的文字显示的错落有致。在本挑战里,你将要设置 h1h6 的每个标题文字的大小。
## Instructions
## Tests
```yml tests: - text: '你应该设置 h1 标签的 font-size68px。' testString: assert($('h1').css('font-size') == '68px'); - text: '你应该设置 h2 标签的 font-size52px。' testString: assert($('h2').css('font-size') == '52px'); - text: '你应该设置 h3 标签的 font-size40px。' testString: assert($('h3').css('font-size') == '40px'); - text: '你应该设置 h4 标签的 font-size32px。' testString: assert($('h4').css('font-size') == '32px'); - text: '你应该设置 h5 标签的 font-size21px。' testString: assert($('h5').css('font-size') == '21px'); - text: '你应该设置 h6 标签的 font-size14px。' testString: assert($('h6').css('font-size') == '14px'); ```
## Challenge Seed
```html

我是 h1 文字

我是 h2 文字

我是 h3 文字

我是 h4 文字

我是 h5 文字
我是 h6 文字
```
## Solution
```html // solution required ```