---
id: 5f344fbc22624a2976425065
title: Hatua ya 9
challengeType: 0
dashedName: step-9
---

# --description--

Unda kipengele cha `h2` katika kipengele `section` na ukipe maandishi `Coffee`.

# --hints--

Unapaswa kuwa na tagi ya kufungua ya `<h2>`.

```js
assert(code.match(/<h2\s*>/i));
```

Unapaswa kuwa na tagi ya kufunga ya `</h2>`.

```js
assert(code.match(/<\/h2\s*>/i));
```

Hupaswi kubadilisha kipengele chako cha `section` kilichopo. Hakikisha kuwa hukufuta tagi ya kufunga.

```js
assert($('section').length === 1);
```

Kipengele chako cha `h2` kinapaswa kuwa ndani ya kipengele chako cha `section`.

```js
const h2 = document.querySelector('h2');
assert(h2.parentElement.tagName === 'SECTION');
```

Kipengele chako cha `h2` kinapaswa kuwa na maandishi `Coffee`.

```js
const h2 = document.querySelector('h2');
assert(h2.innerText === 'Coffee');
```

# --seed--

## --seed-contents--

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