Files
freeCodeCamp/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33294a6af5e9188dbdb8f3.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

1002 B

id, title, challengeType, dashedName
id title challengeType dashedName
5f33294a6af5e9188dbdb8f3 Step 5 0 step-5

--description--

The name of the cafe is CAMPER CAFE. Add an h1 element within your body element. Give it the name of the cafe in capitalized letters to make it stand out.

--hints--

You should have an opening <h1> tag.

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

You should have a closing </h1> tag.

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

You should not change your existing body element.

assert($('body').length === 1);

Your h1 element should be nested in your body element.

assert($('h1')[0].parentElement.tagName === "BODY");

Your h1 element should have the text CAMPER CAFE.

assert(code.match(/<h1>CAMPER CAFE<\/h1>/));

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Camper Cafe Menu</title>
  </head>
--fcc-editable-region--
  <body>
  </body>
--fcc-editable-region--
<html>