--- id: 587d781c367417b2b2512ac2 title: Set the font-size for Multiple Heading Elements challengeType: 0 videoUrl: '' localeTitle: 设置多个标题元素的字体大小 --- ## Description
font-size属性用于指定给定元素中文本的大小。此规则可用于多个元素,以在页面上创建文本的视觉一致性。在此挑战中,您将设置所有h1h6标记的值以平衡标题大小。
## Instructions
## Tests
```yml tests: - text: 您的代码应将h1标记的font-size属性设置为68像素。 testString: 'assert($("h1").css("font-size") == "68px", "Your code should set the font-size property for the h1 tag to 68 pixels.");' - text: 您的代码应将h2标记的font-size属性设置为52像素。 testString: 'assert($("h2").css("font-size") == "52px", "Your code should set the font-size property for the h2 tag to 52 pixels.");' - text: 您的代码应将h3标记的font-size属性设置为40像素。 testString: 'assert($("h3").css("font-size") == "40px", "Your code should set the font-size property for the h3 tag to 40 pixels.");' - text: 您的代码应将h4标记的font-size属性设置为32像素。 testString: 'assert($("h4").css("font-size") == "32px", "Your code should set the font-size property for the h4 tag to 32 pixels.");' - text: 您的代码应将h5标记的font-size属性设置为21像素。 testString: 'assert($("h5").css("font-size") == "21px", "Your code should set the font-size property for the h5 tag to 21 pixels.");' - text: 您的代码应将h6标记的font-size属性设置为14像素。 testString: 'assert($("h6").css("font-size") == "14px", "Your code should set the font-size property for the h6 tag to 14 pixels.");' ```
## Challenge Seed
```html

This is h1 text

This is h2 text

This is h3 text

This is h4 text

This is h5 text
This is h6 text
```
## Solution
```js // solution required ```