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.
Iman AbuAlia416 Points
None of my code shows up in the console from my workspace. How do I fix that?
I'll open up my workspace and start working and then when I hit preview, the new tab opens, I open the console but none of my code is reflected. Why is that?
Without seeing your solution troubleshooting your issue is pretty tricky. I would recommend adding that information in when running into questions/issues like this.
I do have a few ideas however on what to check.
- Ensure you are updating the proper js file.
- Go to index.html and verify that it is loading the script you are updating.
- Before you preview from the workbench make sure to save from the File menu.
- For troubleshooting open the developer tools once your preview page loads and go to the console to see if any errors have been generated.
I hope these suggestions help out.