Files
Shaun Hamilton 25aa04e2e7 chore(curriculum): standardise titles for rwd-beta (#45398)
* 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
2022-03-14 16:54:43 +01:00

1.1 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
5f344fc1520b6719f2e35605 Step 9 0 step-9

--description--

There will be two sections on the menu, one for coffees and one for desserts. Add a section element within the main element so you have a place to put all the coffees available.

--hints--

You should have an opening <section> tag.

assert(code.match(/<section\s*>/i));

You should have a closing </section> tag.

assert(code.match(/<\/section\s*>/i));

You should not change your existing main element. Make sure you didn't delete the closing tag.

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

Your section element should be within your main element.

const main = document.querySelectorAll('main')?.[0];
assert(main.children[0].tagName === 'SECTION');

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
  </head>
  <body>
    <header>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
    </header>
--fcc-editable-region--
    <main>
    </main>
--fcc-editable-region--
  </body>
<html>