/* Challenge: Using forEach loops
*
* You need to plant vertical columns of each of the four crops
* contained in the vegetables object
* Using a forEach loop write a series of conditional statements
* You will need to check the classList to see if it contains the named vegetable type
* If it does find the matching vegetable object in the vegetables array
* Update the innerHTML of the plot so it looks like this:
* <span>🥕</span> (with the correct emoji)
*/
const plots = document.querySelectorAll(".plot")
const vegetables =
[{
type: "carrot",
emoji: "🥕"
},
{
type: "avocado",
emoji: "🥑"
},
{
type: "sweetcorn",
emoji: "🌽"
},
{
type: "lettuce",
emoji: "🥬"
},
]