Challenge: Iterating Over Lists
Taak
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
ul
element using theel
as iterator. - Within each loop step, display the iterated element (
el
).
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 4.35Awesome!
Completion rate improved to 4.35
Challenge: Iterating Over Lists
Taak
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
ul
element using theel
as iterator. - Within each loop step, display the iterated element (
el
).
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 4
single
Awesome!
Completion rate improved to 4.35
Challenge: Iterating Over Lists
Veeg om het menu te tonen
Taak
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
ul
element using theel
as iterator. - Within each loop step, display the iterated element (
el
).
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!