回答編集履歴
1
テキスト修正
answer
CHANGED
@@ -7,6 +7,6 @@
|
|
7
7
|
return `${header}<ul>\n${items}</ul>`;
|
8
8
|
};
|
9
9
|
|
10
|
-
document.querySelector('
|
10
|
+
document.querySelector('#sub').innerHTML = array.map(obj2html).join('\n');
|
11
11
|
```
|
12
12
|
- **動作確認用codepen:** [https://codepen.io/jun68ykt/pen/BaKBzQJ](https://codepen.io/jun68ykt/pen/BaKBzQJ?editors=0010)
|