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.

JavaScript JavaScript Basics Working with Strings Introducing Strings

Iman AbuAlia
Iman AbuAlia
416 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?

1 Answer

Iman AbuAlia,

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.

  1. Ensure you are updating the proper js file.
  2. Go to index.html and verify that it is loading the script you are updating.
  3. Before you preview from the workbench make sure to save from the File menu.
  4. 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.

naz101
naz101
554 Points

Hi,

I am trying to follow along the videos, when I try to view what I have coded, I get a blank blue screen and in the browser the following url: http://port-80-1b78frl08p.treehouse-app.com

I have checked: 1) I am editing the correct file 2) Correct file is linked to the index file.

Please advise