font-size
of each heading tag in the last challenge, here you'll adjust the font-weight
.
The font-weight
property sets how thick or thin characters are in a section of text.
font-weight
of the h1
tag to 800.font-weight
of the h2
tag to 600.font-weight
of the h3
tag to 500.font-weight
of the h4
tag to 400.font-weight
of the h5
tag to 300.font-weight
of the h6
tag to 200.font-weight
property for the h1
tag to 800.
testString: 'assert($("h1").css("font-weight") == "800", "Your code should set the font-weight
property for the h1
tag to 800.");'
- text: Your code should set the font-weight
property for the h2
tag to 600.
testString: 'assert($("h2").css("font-weight") == "600", "Your code should set the font-weight
property for the h2
tag to 600.");'
- text: Your code should set the font-weight
property for the h3
tag to 500.
testString: 'assert($("h3").css("font-weight") == "500", "Your code should set the font-weight
property for the h3
tag to 500.");'
- text: Your code should set the font-weight
property for the h4
tag to 400.
testString: 'assert($("h4").css("font-weight") == "400", "Your code should set the font-weight
property for the h4
tag to 400.");'
- text: Your code should set the font-weight
property for the h5
tag to 300.
testString: 'assert($("h5").css("font-weight") == "300", "Your code should set the font-weight
property for the h5
tag to 300.");'
- text: Your code should set the font-weight
property for the h6
tag to 200.
testString: 'assert($("h6").css("font-weight") == "200", "Your code should set the font-weight
property for the h6
tag to 200.");'
```