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 Introduction to HTML and CSS (2016) 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!

Hi! Can you share your code?

3 Answers

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>