Skip to content

Commit

Permalink
fix: remove reference to nonexistent comment element in step instruct…
Browse files Browse the repository at this point in the history
  • Loading branch information
anushreejha authored Jan 16, 2025
1 parent df51c7e commit c551142
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The `section` element is used to define sections in a document, such as chapters
</section>
```

Take your `h2`, comment, two `p` elements, and anchor (`a`) elements and nest them in a `section` element.
Take your `h2`, two `p` elements, and anchor (`a`) elements and nest them in a `section` element.

# --hints--

Expand All @@ -40,7 +40,7 @@ The entire `section` element should be between the opening and closing tags of t
assert.equal(document.querySelector('section').parentNode.nodeName, 'MAIN');
```

The existing `h2`, comment, `p` elements, and anchor (`a`) element should be between the opening and closing tags of the `section` element.
The existing `h2`, `p` elements, and anchor (`a`) element should be between the opening and closing tags of the `section` element.

```js
const childrenOfSection = [...document.querySelector('section').childNodes];
Expand Down

0 comments on commit c551142

Please sign in to comment.