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 Make a Website Beginning HTML and CSS Follow Along with Workspaces

Karla Gonzalez
seal-mask
.a{fill-rule:evenodd;}techdegree
Karla Gonzalez
Front End Web Development Techdegree Student 2,602 Points

Following Along with Workspaces in How to Make a Website

I'm unable to preview my work in the index.html file as a webpage in the web browser when clicking on the preview icon. I get a 'No data received' screen.

I appreciate any help in advance.

Are you using the Treehouse Workspaces to build your html file, or are you following along by creating files on your computer?

2 Answers

I went back and looked at the video you are viewing. This is showing you how to use workspaces. You won't have anything to preview until you actually build a project. You're not doing anything wrong and it's behaving as expected.

Karla Gonzalez
seal-mask
.a{fill-rule:evenodd;}techdegree
Karla Gonzalez
Front End Web Development Techdegree Student 2,602 Points

Thank you. I was actually following along Nick's presentation. For example, the first task is to type: <h1>my name</h1> but, when clicking the preview icon, I get the 'No data received' screen on my web browser.

I may be misunderstanding then. You'll want to make sure you've saved before previewing. If you have a red dot next to your "index.html" filename on the tab at the top of the screen, then you haven't saved. If you are still getting the error after saving, could you post your code so we can see what you have so far?