let fruit = ["π", "π", "π", "π", "π"] let appleShelf = document.getElementById("apple-shelf") let orangeShelf = document.getElementById("orange-shelf")
// Create a function that puts the apples onto the appleShelf // and the oranges onto the orangeShelf. Use a for loop, // a conditional statement, and the textContent property.
1
2
3
4
5
6
7
8
9
let fruit = ["π","π","π","π","π"]
let appleShelf = document.getElementById("apple-shelf")
let orangeShelf = document.getElementById("orange-shelf")
// Create a function that puts the apples onto the appleShelf
// and the oranges onto the orangeShelf. Use a for loop,
// a conditional statement, and the textContent property.