My solution: https://jsfiddle.net/c96hv9tj/1/
function filler(list, arr){
let b = document.createElement("li");
for(let i = 0; i < arr.length; i++){
b.appendChild(document.createTextNode(arr[i]));
}
list.appendChild(b);
}
I'm trying to make it create a new li for each index from the array help please.