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
John Weinbuch
Courses Plus Student 325 PointsHow 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?
John Weinbuch
Courses Plus Student 325 Points<!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
Joshua Holland
2,865 PointsIt 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.
John Weinbuch
Courses Plus Student 325 PointsThanks 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!
Joshua Holland
2,865 PointsNo problem, happy to help :)
James Wiseman
1,576 PointsJames Wiseman
1,576 PointsPlease post your code so that we can help identify the issue.