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

Denise Mejia
Denise Mejia
1,032 Points

Image place holder

I put the place holder image into the header and it should bring up a different image each time but it is not. That important i'm assuming but want to make sure I didn't code something wrong.

Fredrik Rönnehag
Fredrik Rönnehag
2,342 Points

It's not important that the image keeps changing as long as you have the image showing properly. It's just a placeholder after all.

1 Answer

Andrew Fennell
Andrew Fennell
1,413 Points

Often times your browser caches information that it believes won't change and it stores that information for the next time you visit that website. Your image isn't changing because your browser is pulling information from the cached data instead of downloading it again from the website.

Try 'force reloading' the page with the following command: 'CTRL + F5'

It should show a different image each time now. Let me know if it worked!