Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialVeronica Edeni
Full Stack JavaScript Techdegree Student 2,237 PointsVegetables list didn't appear
this is my work space i wrote my codes in Multi.js and i wrote vegetables list like the teacher said but i did't run?!
1 Answer
Jiten Mehta
Front End Web Development Techdegree Graduate 21,209 PointsHi Veronica, nearly there. Just a simple spelling mistake.
In your query selector, you have selected 'vegtables'.
The class you want to target is 'vegetables'.
You just forgot to add the E after the G.
So it should be,
document.querySelector('.vegetables').innerHTML = vegetablesList;
Keep up the good work!