Files
freeCodeCamp/curriculum/challenges/english/01-responsive-web-design/basic-css-cafe-menu/step-011.md
Nicholas Carrigan (he/him) b36cdbafd1 chore: rename "part" to "step" (#43934)
* chore: rename part to step

* chore: update metas

* chore: more renaming

* chore: update tooling

* chore: update frontmatter

* chore(tools): title testing
2021-10-21 18:07:52 +01:00

1.0 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
5f344fad8bf01691e71a30eb Step 11 0 step-11

--description--

Up until now, you have been limited regarding the presentation and appearance of the content you create. To start taking control, add a style element within the head element.

--hints--

Your code should have an opening <style> tag.

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

Your code should have a closing </style> tag.

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

Your style element should be nested in your head element.

assert(code.match(/<head\s*>[\w\W\s]*<style\s*>[\w\W\s]*<\/style\s*>[\w\W\s]*<\/head\s*>/i))

--seed--

--seed-contents--

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