freeCodeCamp/curriculum/challenges/italian/14-responsive-web-design-22/learn-intermediate-css-by-b.../60b69a66b6ddb80858c5157a.md

1.3 KiB

id title challengeType dashedName
60b69a66b6ddb80858c5157a Step 4 0 step-4

--description--

FontAwesome è una biblioteca di icone SVG, molte delle quali possono essere usate gratuitamente. Utilizzerai alcune di queste icone in questo progetto, quindi ti servirà il link a un foglio di stile esterno al tuo HTML.

Aggiungi un elemento link con un rel di stylesheet e un href con il valore https://use.fontawesome.com/releases/v5.8.2/css/all.css.

--hints--

Dovresti avere due elementi link.

assert(document.querySelectorAll('link').length === 2);

L'elemento link dovrebbe avere un rel con il valore stylesheet.

assert(document.querySelectorAll('link')?.[1]?.getAttribute('rel') === 'stylesheet');

L'elemento link dovrebbe avere un href con il valore https://use.fontawesome.com/releases/v5.8.2/css/all.css.

assert(document.querySelectorAll('link')?.[1]?.getAttribute('href') === 'https://use.fontawesome.com/releases/v5.8.2/css/all.css')

--seed--

--seed-contents--

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Picasso Painting</title>
    <link rel="stylesheet" href="./styles.css" />
    --fcc-editable-region--

    --fcc-editable-region--
  </head>
  <body>
  </body>
</html>