Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications Image Tags

When I use PlaceIMG for the Image Tags course, the picture stays the same when refreshed. Treasure's changes every time.

Not sure if this is an important difference, as I'm brand new to this. But I think I'm writing it exactly the same so just wondering why I wouldn't also get a new pic with every refresh. Thanks!

3 Answers

trio-group I.AM
trio-group I.AM
24,757 Points

Thanks for sharing your code. It works fine for me. I am assuming your browser is showing you a cached version of your page. Try refreshing the page while also clearing the cache. On a Mac the command would be cmd+shift+R (I believe it's ctrl+F5 on Windows). Alternatively you can disable caching for the current page in the dev tools.

That's it! Thanks very much for your help

<header> <img src="http://placeimg.com/400/400/people"alt="Drawing of Jane Smith" class="profile-image"> <h1 class="tag name">Hello, I’m Patrick.</h1> <p class="tag location">My home is Boston, Massachusetts.</p> </header>