0
My output console is not display. Thanks you.
Display items ul in console. https://code.sololearn.com/WI6mk8ULNYRQ/?ref=app
1 ответ
0
Line 7:
You query the DOM for a collection of <ul> element.
var el = document.getElementsByTagName ("ul");
Line 19:
But you only created the <ul>, and didn't add it into the document structure.
//document.body.appendChild (ul);
You can't ask for something that doesn't even exist.
Please tag your thread proportionally.
https://code.sololearn.com/W3uiji9X28C1/?ref=app