* chore(curriculum): accessibility-quiz * chore(curriculum): cafe-menu * chore(curriculum): ferris-wheel * chore(curriculum): fix ferris-wheel tests * chore(curriculum): colored-markers * chore(curriculum): photo-gallery * chore(curriculum): magazine * chore(curriculum): penguin * chore(curriculum): city-skyline * chore(curriculum): registration-form * chore(curriculum): picasso-painting * chore(curriculum): balance-sheet * chore(curriculum): piano * chore(curriculum): rothko-painting * fix: title min 15 chars
1.0 KiB
1.0 KiB
id, title, challengeType, dashedName
id | title | challengeType | dashedName |
---|---|---|---|
5f344fad8bf01691e71a30eb | Step 11 | 0 | step-11 |
--description--
Up until now, you have been limited regarding the presentation and appearance of the content you create. To start taking control, add a style
element within the head
element.
--hints--
Your code should have an opening <style>
tag.
assert(code.match(/<style\s*>/i));
Your code should have a closing </style>
tag.
assert(code.match(/<\/style\s*>/));
Your style
element should be nested in your head
element.
assert(code.match(/<head\s*>[\w\W\s]*<style\s*>[\w\W\s]*<\/style\s*>[\w\W\s]*<\/head\s*>/i))
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
--fcc-editable-region--
<head>
<meta charset="utf-8" />
<title>Cafe Menu</title>
</head>
<body>
<header>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
</header>
<main>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
--fcc-editable-region--
<html>