logo
logo

Create List

Beginner

Create List

Write a function called
createList
that takes an array of strings and creates a new unordered list (ul) element with a list item (li) element for each string in the array. The function should return the newly created ul element.
Console
Submit
Solution
00:00