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

HTML

When I click on the preview workspace icon I get "nick Pettit" instead of what I typed in the Index.html.

my treehouse work space isn't previewing correctly and I believe I typed the html correctly I keep getting "nick Pettit" instead of what I coded but it works when I download the code and open it in my browser but not when i click the preview icon. here is a link to my workspace https://w.trhou.se/xpcs0bissi

Have you saved your workspace before going into the preview? There will be a little orange dot on the tab next to the file name if there are unsaved changes.

3 Answers

No bryan you don't have to fork it. I forked it ( copied the contents of your workspace to mine ) to see the problem for myself.

As Shawn gave a good tip to always remember: "After changes to the files save them before previewing."

Good hint but I would get "Nick Pettit" also if bryan didn't save his files.

Try reloading the preview page, then close the workspace and open it again to see if your changes are still there and then preview your workspace.

I presume one of my hints helped.

And great.

bryan if you take a minute and share which one helped you would be a great help to others that face the same problem in the future.

Again: Happy Coding!!! :)

Hi Bryan.

I forked your workspace and it works with me.

You can close the workspace and reopen it. Then open the workspace for viewing.

You could also try and clear your cache.

Have you tried reloading the page?

Oh so you have to fork the work space before previewing it?