Back to Freecodecamp

Step 3

curriculum/challenges/english/blocks/learn-intermediate-css-by-building-a-cat-painting/646c48df8674cf2b91020ecc.md

latest759 B
Original Source

--description--

Add a link element within your head element. For that link element, set the rel attribute to stylesheet and the href to ./styles.css.

--hints--

You should have a link element.

js
assert.match(code, /<link/)

Your link element should have a rel and href attribute set to stylesheet and ./styles.css.

js
assert.match(code, /<link\s+(rel=("|')stylesheet\2\s+href=("|')\.\/styles\.css\3|href=("|')\.\/styles\.css\4\s+rel=("|')stylesheet\5)\s*\/?>/)

--seed--

--seed-contents--

html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>fCC Cat Painting</title>
    --fcc-editable-region--

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