Files
freeCodeCamp/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f3313e74582ad9d063e3a38.md
Naomi Carrigan 16e7cdedb1 feat: migrate filenames to IDs (#45146)
* feat: migrate filenames to IDs

* feat: migrate balance sheet file names

* revert: no id name for cert projects

* fix: i swear i know what i'm doing
2022-03-02 09:06:00 -06:00

1.0 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
5f3313e74582ad9d063e3a38 Step 2 0 step-2

--description--

Add a head element within the html element, so you can add a title element. The title element's text should be Camper Cafe Menu.

--hints--

You should have an opening <head> tag.

assert(code.match(/<head>/i));

You should have a closing </head> tag.

assert(code.match(/<head>/i));

You should have an opening <title> tag.

assert(code.match(/<title>/i));

You should have a closing </title> tag.

assert(code.match(/<\/title>/i));

Your <title> element should be nested in your <head> element.

assert(code.match(/<head>\s*<title>.*<\/title>\s*<\/head>/si));

Your <title> element should have the text Camper Cafe Menu. You may need to check your spelling.

assert.match(document.querySelector('title')?.innerText, /camper cafe menu/i);

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
--fcc-editable-region--

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