I try another code unordered create ul list but i have error appendChild Line 39. Thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

I try another code unordered create ul list but i have error appendChild Line 39. Thanks you.

Error appendChild Line 39 . https://code.sololearn.com/WRylkDdfKbCl/?ref=app

15th Mar 2021, 4:44 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 2
Malick Diagne There should be ul.append not myul.append Check your mistake. Also you didn't append ul to body. So do this document.body.appendChild(ul);
15th Mar 2021, 4:47 AM
A͢J
A͢J - avatar