- 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
1 ответ
+ 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);