1008 B
1008 B
id | title | challengeType | dashedName |
---|---|---|---|
60a3e3396c7b40068ad69970 | Step 7 | 0 | step-7 |
--description--
Before you can start styling the div
you added, you need to link your CSS to your HTML.
Add a link
element to link your styles.css
file. Set the href
to ./styles.css
, and remember to set the rel
attribute to stylesheet
.
--hints--
Your code should have a link
element.
assert(/<link/.test(code))
Your link
element should have a rel
attribute with the value stylesheet
.
assert.match(code, /<link.*?rel=('|"|`)stylesheet\1/)
Your link
element should have an href
attribute with the value styles.css
.
assert.match(code, /<link.*?href=('|"|`)(\.\/)?styles\.css\1/)
--seed--
--seed-contents--
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rothko Painting</title>
--fcc-editable-region--
--fcc-editable-region--
</head>
<body>
<div class="canvas">
</div>
</body>
</html>