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 Creating HTML Content Structure the Image Gallery

can't see image in preview

Hello, I did just the same as in the video, why can't I see the images in the preview? Here's my Snapshot: http://w.trhou.se/o1dk1qikdy

Steven Parker
Steven Parker
231,007 Points

:x: You can't share a direct URL to your workspace, it's private just for you and only exists while you are using it.

:information_source: But you can use the snapshot function in the workspace and provide the link to that.

Mircea Ungureanu
Mircea Ungureanu
7,483 Points

Look closer at the source element

typo: scr= instead of src=

4 Answers

Steven Parker
Steven Parker
231,007 Points

Remember there's two steps to updating the preview.

  1. Save your changes (with the menu or CTRL-S)
  2. Refresh your browser.

A clue for the first one is the little red dot the editor puts in the tab to indicate a change has not been saved.

Thanks, but I have refreshed the preview and and modifications are saved.

Thanks Steven, I have just modified my question, could you take a look at my Snapshot? In fact, I've carefully reviewed my code, it comes out that in section, no image can be shown, however when I write the same code to show image in the section area, image can be seen in the preview.

Same issue here. Can't see when i click prewiew on workspace . I did save my workspace and refresh the prewiew site but still it show me a tiny greeny square