Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Code doesn't work in Workspace, but does in Sublime
My code wasn't working in the Workspace when I was trying to test the variable "taskInput", I kept getting an error message "Uncaught ReferenceError: taskInput is not defined "
However, when I download the code, test it in Sublime, it works but then when I copy the same exact code (that was downloaded) and paste it into the Workspace, it doesn't work, I get the same error message. So, I'm sticking to Sublime.
Make sure var addButton is closed with a semicolon. var addButton; (in this particular video we didn't go over it yet, but wasn't closed) on my side.
Vittorio Somaschini33,371 Points
It sounds very weird..
Can we have a look at the code that does not work?
I would copy and paste it here, but it doesn't seem to act accordingly. It renders all wonky and I don't see an attach button anywhere.