0
I want to do ordered list items like United states in list item top economic powers. Thanks you.
Ordered list items in list item top economic powers. https://code.sololearn.com/WLdnO2BaI6od/?ref=app
1 Réponse
0
It might be that "ul" and "getidol" are the same. At least one gets a list by not using "getidol" - > ul. appendChild (li1...)
Maybe that helps you at least debugging your code.
var li1 = document.createElement ("li");
li1.innerHTML = "United States";
ul.appendChild (li1 );