--- id: 587d781c367417b2b2512ac3 title: Impostare lo spessore del carattere per più elementi di intestazione challengeType: 0 videoUrl: 'https://scrimba.com/c/crVWRHq' forumTopicId: 301069 dashedName: set-the-font-weight-for-multiple-heading-elements --- # --description-- Hai impostatio il `font-size` per ogni tag di intestazione nell'ultima sfida, qui potrai regolare il `font-weight`. La proprietà `font-weight` imposta quanto grossi o sottili devono apparire i caratteri in una sezione di testo. # --instructions-- # --hints-- Il tuo codice dovrebbe impostare proprietà `font-weight` per il tag `h1` a 800. ```js assert($('h1').css('font-weight') == '800'); ``` Il tuo codice dovrebbe impostare la proprietà `font-weight` per il tag `h2` a 600. ```js assert($('h2').css('font-weight') == '600'); ``` Il tuo codice dovrebbe impostare la proprietà `font-weight` per il tag `h3` a 500. ```js assert($('h3').css('font-weight') == '500'); ``` Il tuo codice dovrebbe impostare proprietà `font-weight` per il tag `h4` a 400. ```js assert($('h4').css('font-weight') == '400'); ``` Il tuo codice dovrebbe impostare la proprietà `font-weight` per il tag `h5` a 300. ```js assert($('h5').css('font-weight') == '300'); ``` Il tuo codice dovrebbe impostare proprietà `font-weight` per il tag `h6` a 200. ```js assert($('h6').css('font-weight') == '200'); ``` # --seed-- ## --seed-contents-- ```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
``` # --solutions-- ```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
```