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

How to preview a new workspace file?

To get some extra practice I started coding my own website. However, when I try to preview this code it still shows the index.html file I am working on in the front end development track.

Is there a way to fix this?

Please post your code so that we can help identify the issue.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="uft-8">
    <title>SpeakUp NYR</title>
  </head> 
<body>
  <header>
    <a href="nyr.html">
      <h1>SpeakUP NYR</h1>
      <h2>A home for those who bleed blue</h2>
    </a>
  </header>
</body>
</html>

1 Answer

It looks like you can have up to 100 separate workspaces. Since I'm not sure what steps you took I will explain how I did it. I clicked on the workspaces tab on the left of the screen, then hit the "new +" button, created a title for the workspace and coded my new site in there. Now, my preview reflects whichever workspace I have open.

If you simply created a new file or tab in your already existing workspace that would definitely cause a problem but again, I'm not sure what steps you took to get where you are.

I hope this helped.

Thanks for the response, man! That was the problem: rather than creating a new workspace, I created a new file within the index.html workspace. It's all fixed now. Thanks again!

No problem, happy to help :)