Updated linter to work with restructure

This commit is contained in:
Angelos Chalaris
2017-12-27 17:05:21 +02:00
parent fa07effb84
commit e08dd40e4e
33 changed files with 52 additions and 51 deletions

View File

@ -5,7 +5,7 @@ Converts the given array elements into `<li>` tags and appends them to the list
Use `Array.map()` and `document.querySelector()` to create a list of html tags.
```js
const arrayToHtmlList = (arr, listID) => arr.map(item => document.querySelector("#"+listID).innerHTML+=`<li>${item}</li>`);
const arrayToHtmlList = (arr, listID) => arr.map(item => document.querySelector('#' + listID).innerHTML += `<li>${item}</li>`);
```
```js