* 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
971 B
971 B
id, title, challengeType, dashedName
id | title | challengeType | dashedName |
---|---|---|---|
5f331e55dfab7a896e53c3a1 | Step 3 | 0 | step-3 |
--description--
The title
is one of several elements that provide extra information not visible on the web page, but could be useful for search engines or how the page gets displayed.
Inside the head
element, nest a meta
element with an attribute named charset
set to the value utf-8
to tell the browser how to encode characters for the page. Note that meta
elements are self-closing.
--hints--
You should have a meta
tag.
assert(code.match(/<meta.*?\/?>/is));
Your meta
tag should have a charset
attribute.
assert(code.match(/<meta charset=/i));
Your charset
attribute should have a value of utf-8
.
assert(code.match(/charset=('|")utf-8\1/i));
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
--fcc-editable-region--
<head>
<title>Cafe Menu</title>
</head>
--fcc-editable-region--
<html>