Challenge: Iterating Over Lists
Compito
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
).
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 4.35
Challenge: Iterating Over Lists
Scorri per mostrare il menu
Compito
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
).
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 4.35Sezione 2. Capitolo 4
single