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

Digital Literacy

I began by creating a new file on the top left menu, but I cannot view my own file in the browser. What do I do?

I clicked on Create new file, then entered by hand a code similar to the default story of Joy, then made some changes (color, length of paragraph text) but now I dont see my work in the browser, only again and again the default text. I tried refreshing the browser, deleting my web history and data etc. but still not good.

Anybody can help?

3 Answers

Steven Parker
Steven Parker
231,007 Points

:point_right: The preview connects to index.html by default.

If you created a new file with a different name, you'll need to add that name to the URL in your browser.

Otherwise, you could delete or rename the original and then rename your new file to be "index.html".

OK thx Steven - in between, my browser has just crashed and my things are lost so unfortunately I cannot verify (also I had saved a few times but I dont know how to find back the file). But I believe you are right, this makes sense to me, I hadnt modify the URL, so if it's connected to the other, default file, it makes sense... Cheers and thanks, R

I found back the file. How should I change the URL? At the moment, this is what I got when I click on the eye in the workspace: http://port-80-5qabmb9nk7.treehouse-app.com/

http://port-80-5qabmb9nk7.treehouse-app.com/

I dont know what I should replace or add. I tried with adding /the name of the file after the .com, but it brought a 404 back...