font-size
property is used to specify how large the text is in a given element. This rule can be used for multiple elements to create visual consistency of text on a page. In this challenge, you'll set the values for all h1
through h6
tags to balance the heading sizes.
font-size
of the h1
tag to 68px.font-size
of the h2
tag to 52px.font-size
of the h3
tag to 40px.font-size
of the h4
tag to 32px.font-size
of the h5
tag to 21px.font-size
of the h6
tag to 14px.font-size
property for the h1
tag to 68 pixels.
testString: 'assert($("h1").css("font-size") == "68px", "Your code should set the font-size
property for the h1
tag to 68 pixels.");'
- text: Your code should set the font-size
property for the h2
tag to 52 pixels.
testString: 'assert($("h2").css("font-size") == "52px", "Your code should set the font-size
property for the h2
tag to 52 pixels.");'
- text: Your code should set the font-size
property for the h3
tag to 40 pixels.
testString: 'assert($("h3").css("font-size") == "40px", "Your code should set the font-size
property for the h3
tag to 40 pixels.");'
- text: Your code should set the font-size
property for the h4
tag to 32 pixels.
testString: 'assert($("h4").css("font-size") == "32px", "Your code should set the font-size
property for the h4
tag to 32 pixels.");'
- text: Your code should set the font-size
property for the h5
tag to 21 pixels.
testString: 'assert($("h5").css("font-size") == "21px", "Your code should set the font-size
property for the h5
tag to 21 pixels.");'
- text: Your code should set the font-size
property for the h6
tag to 14 pixels.
testString: 'assert($("h6").css("font-size") == "14px", "Your code should set the font-size
property for the h6
tag to 14 pixels.");'
```