Update guidelines regarding arguments

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 19:04:29 +02:00
parent 8dfeaeea01
commit 0af7192af7
4 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ If the given string contains multiple elements, only the first one will be retur
- Use `Document.createElement()` to create a new element.
- Use `Element.innerHTML` to set its inner HTML to the string supplied as the argument.
- Use `ParentNode.firstElementChild` to return the element version of the string.
- Use `Element.firstElementChild` to return the element version of the string.
```js
const createElement = str => {