Challenge: Iterating Over Lists
Task
Swipe to start coding
You will work with the same page. In this task, you need to iterate over unordered list (the <ul> element) and print all its elements. Follow the next steps:
- Iterate over all children of the
ulelement using theelas iterator. - Within each loop step, display the iterated element (
el).
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 4.35
Challenge: Iterating Over Lists
Swipe to show menu
Task
Swipe to start coding
You will work with the same page. In this task, you need to iterate over unordered list (the <ul> element) and print all its elements. Follow the next steps:
- Iterate over all children of the
ulelement using theelas iterator. - Within each loop step, display the iterated element (
el).
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 4
single