My output console is not display. Thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My output console is not display. Thanks you.

Display items ul in console. https://code.sololearn.com/WI6mk8ULNYRQ/?ref=app

16th Jul 2021, 4:47 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
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
16th Jul 2021, 5:34 AM
Ipang