--- id: 587d781c367417b2b2512ac3 title: Set the font-weight for Multiple Heading Elements challengeType: 0 videoUrl: '' localeTitle: اضبط وزن الخط لعناصر العناوين المتعددة --- ## Description
يمكنك تعيين font-size كل علامة عنوان في التحدي الأخير ، هنا ستقوم بتعديل font-weight . تحدد الخاصية font-weight كيفية ظهور أحرف سميكة أو رقيقة في قسم من النص.
## Instructions
## Tests
```yml tests: - text: يجب أن تقوم التعليمات البرمجية بتعيين الخاصية 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 بتعيين الخاصية 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.");' ```
## 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 ```