Start your All-Access Pass to unlock this challenge
Challenge 1 / 1
Suppose we have an imaginary component with the following data property:
data() {
return {
fruits: [
'Banana',
'Strawberry',
'Pienapple',
'Apple',
],
};
},
Delicious! Now we want to loop through these fruits and show each of them in a span
element. What's the best way to accomplish this?
Skip challenges and go to theNext Chapter