Skip to content

Commit

Permalink
misleading domtokenlist example fix (mdn#35457)
Browse files Browse the repository at this point in the history
* misleading domtokenlist example fix

* review comments

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
gagan-bhullar-tech and github-actions[bot] authored Aug 14, 2024
1 parent 839c5e8 commit 6ce0f73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/en-us/web/api/domtokenlist/remove/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ list into the `<span>`'s {{domxref("Node.textContent")}}.
First, the HTML:

```html
<div id="ab" class="a b c"></div>
<div id="a" class="a b c"></div>
<span id="ab" class="a b c"></span> <span id="a" class="a b c"></span>
```

Now the JavaScript:
Expand Down

0 comments on commit 6ce0f73

Please sign in to comment.