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

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