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

Amanda's code I can't preview my page in other computers

I can't see my page in others computers just only mine, but when i uploaded to my email to see it in other computers the pictures doesn't show and i can only see the html structure.

2 Answers

Podrig Leoghain
Podrig Leoghain
5,094 Points

I think it may be because workspaces only store data locally rather than that data being stored on your profile. I have asked Erik Krieg to help with this one. I would invite you to use an editor like sublime text, and upload the files to a cloud storage or use a usb stick. Hope this helps.

Hi Padraig thank you! I'm using Atoms for creating my codes and I upload my project on google drive but this not seen to work. Maybe I can send you my code so you can take a look and see what is happening. Thank you!

Podrig Leoghain
Podrig Leoghain
5,094 Points

Indeed, best to coffee pasta (oops, copy paste) the code into a reply/comment, remembering to use the markdown to display code (see markdown cheatsheet).

Also don't forget that you need to copy the whole folder including HTML, CSS and image folders (and JS when you get there) to your storage. When you call a file, whether CSS, JS or image, or even a webpage somewhere on the internet, you are using either a relative or absolute URL e.g. src="../img/helloworld.svg" (relative path(to the html file the line of code is in)) or href="https://upload.wikimedia.org/wikipedia/commons/2/28/HelloWorld.svg" (absolute path, doesn't matter where your html (or css) file is located, it points straight to an address somewhere on the internet).

Hope this helps and isn't confusing (I've only just started heplping people on the community!).