font-size
для каждого заголовка в последнем вызове, здесь вы настраиваете font-weight
. Свойство font-weight
устанавливает, как толстые или тонкие символы находятся в разделе текста. font-weight
тега h1
равным 800. font-weight
тега h2
равным 600. font-weight
тега h3
равным 500. font-weight
тега h4
равным 400. font-weight
тега h5
равным 300. font-weight
тега h6
равным 200. font-weight
для тега h1
равным 800.
testString: 'assert($("h1").css("font-weight") == "800", "Your code should set the font-weight
property for the h1
tag to 800.");'
- text: Ваш код должен установить свойство font-weight
для тега h2
равным 600.
testString: 'assert($("h2").css("font-weight") == "600", "Your code should set the font-weight
property for the h2
tag to 600.");'
- text: Ваш код должен установить свойство font-weight
для тега h3
равным 500.
testString: 'assert($("h3").css("font-weight") == "500", "Your code should set the font-weight
property for the h3
tag to 500.");'
- text: Ваш код должен установить свойство font-weight
для тега h4
равным 400.
testString: 'assert($("h4").css("font-weight") == "400", "Your code should set the font-weight
property for the h4
tag to 400.");'
- text: Ваш код должен установить свойство font-weight
для тега h5
равным 300.
testString: 'assert($("h5").css("font-weight") == "300", "Your code should set the font-weight
property for the h5
tag to 300.");'
- text: Ваш код должен установить свойство font-weight
для тега h6
равным 200.
testString: 'assert($("h6").css("font-weight") == "200", "Your code should set the font-weight
property for the h6
tag to 200.");'
```