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.
Huub Langedijk5,039 Points
How come nothing happens at all when I press the Tell my fortune button? How do I reset the code?
In the video whenever the button is pressed on the site, a box appears where it says undefined for the variables. Whenever I press Tell my fortune however it looks like it only refreshes my page. As far as I can tell I only made changes to the CSS part.
Can i somehow reset my code or get the version the teacher is using? Everytime I launch the workspace it opens my altered version.
Josian Acevedo3,662 Points
In the index.html, make sure at the bottom of the code you have the following line:
I think you are missing "script.js"
Chris Davis16,279 Points
I think you have to go into workspaces in the upper right hand corner of the screen, next to your profile count/avatar, find that workspace and delete it. Then go back into the lesson and when you open that workspace it should be reset.