CSS CSS Layout Basics CSS Layout Project Introducing the Project

Alex Forseth
Alex Forseth
8,016 Points

How do I view the .png file in my browser if I am using a text editor that is not launch workspace?

I can not personally see the preview of what he wants the end product to be, because he is using the png file to launch the workspace.

2 Answers

Steven Parker
Steven Parker
204,853 Points

A pure text editor would not be able to display images. The workspaces also act as web servers to allow your browser to connect and display the contents.

There are special editors which simulate web displays (such as Code, Brackets, and Atom), If you're using one of those you must be sure to download image (and other) resources and place them in a folder structure similar to the one in the workspace.

Mark Newcomb
Mark Newcomb
2,770 Points

What I did was hit preview which opens up a **.treehouse-app.com link. On a hunch, I figured the png file would be at /best-city-guide.png and lo and behold, there it was. So it would be **.treehouse-app.com/best-city-guide.png. Hope that helps!

Steven Parker
Steven Parker
204,853 Points

But you "hit preview" in the workspace, which Alex is not using.