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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Nicholas Suraci](https://secure.gravatar.com/avatar/4abebc2c53ec6fac146c84b946174f12?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Nicholas Suraci
7,543 PointsI copied the from the project files just in case my code was incorrect but it doesn't add the li to the ul
I was following along with the video on vs code, when I completed this part of the course I went to preview what the code does, it doesn't actually add an li to the ul. I even opened the final folder to see if it was something I missed but when you type something into the text box it still does nothing to the ul, I even switched from vs code to see if it would work on the work space and still nothing. I don't know if I'm doing something wrong but if anyone can help me with this that would be awesome!
1 Answer
![lifelonglearner](https://secure.gravatar.com/avatar/032eadee734869888f5120264c289713?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
lifelonglearner
7,280 PointsI had to edit the last two variables to read as follows:
const addItemInput = document.querySelector('.addItemInput');
const addItemButton = document.querySelector('.addItemButton');
![Adam Dashi](https://secure.gravatar.com/avatar/f21888a782f140aa72ce1ef39cd1870d?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Adam Dashi
5,987 PointsI had the same problem - been driving me mad for a while and this solved it.
KRIS NIKOLAISEN
54,969 PointsKRIS NIKOLAISEN
54,969 PointsCan you post a snapshot of your workspace? It is the camera icon in the upper right corner.