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) Adding a New Web Page Write the CSS

Michael Thompson
Michael Thompson
7,427 Points

img doesn't change

My img stays the same when I refresh. Changed the link from https to http and it changed once but now it just stays as that img. What am I doing wrong?

Cristian La Spina
Cristian La Spina
11,829 Points

You should post your code before and after the modification you've made in order to get help

Hi Michael,

If you're using Chrome as your browser sometimes these errors can be fixed by clearing your browser data / cached images and files and refreshing the page.

It did my head in many a time at the early stages as well :-)

tayjoh
tayjoh
2,329 Points

Posting your code would greatly help in understanding the problem, but to knock out some simple things...

  1. Did you make sure you saved your code before refreshing the page?
  2. Did you make sure to correctly "close" your tags/elements?

2 Answers

Nataly Diem
Nataly Diem
9,701 Points

Ctrl + R or clicking the browser refresh icon while holding ctrl should do the trick, at least on Windows

Sebastian Lofaro
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Sebastian Lofaro
Front End Web Development Techdegree Graduate 29,101 Points

Try disabling your browsers cache. Usually located in your developer tools menu ( ⌥+⌘+i on Mac) under the Network tab there should be an option to "Disable cache".