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

Development Tools The Solution

Zenzi Ali
PLUS
Zenzi Ali
Courses Plus Student 2,412 Points

I'm just getting an empty white page with no code. None of my work shows up in the preview pane. I saved and refreshed.

I don't know what I'm doing wrong, but none of my work appears on the workspace preview website. I link my HTML to my js and place my document.write statement at the bottom of the js page. I save and refresh, but nothing shows up when I select the preview button.

1 Answer

Matthew McQuain
Matthew McQuain
14,184 Points

Same. It worked the first time, but then not again. I don't get it.

edit: I went back and looked at my code, and there was suddenly some random code at the top that I never wrote. I'm not sure where it came from, but that's what broke the code for me. I deleted it and that solved it.