Files
Nicholas Carrigan (he/him) 59c24bd4be chore: rename cafe menu (#44201)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: missed block name

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 22:22:24 -06:00

1017 B

id, title, challengeType, dashedName
id title challengeType dashedName
5f332a88dc25a0fd25c7687a Step 6 0 step-6

--description--

To let visitors know the cafe was founded in 2020, add a p element below the h1 element with the text Est. 2020.

--hints--

You should have an opening <p> tag.

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

You should have a closing </p> tag.

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

You should not change your existing h1 element. Make sure you did not delete the closing tag.

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

Your p element should be below your h1 element.

assert($('p')[0].previousElementSibling.tagName === 'H1');

Your p element should have the text Est. 2020.

assert(code.match(/<p>Est. 2020<\/p>/i));

--seed--

--seed-contents--

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