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

JavaScript

Can't see the cat gif

When in Google Chrome the cat gif won't show up but when I go into Safari I am able to see the gif. Why is this?

1 Answer

Bella Bradbury
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Bella Bradbury
Front End Web Development Techdegree Graduate 32,790 Points

Genesis,

There could be many different reasons as to why this is happening. It's hard to help without seeing your code but here are a few of the potential reasons not having to do with code error!


If the question is just generally why something works in one browser but not in another, this is because each browser has a different engine and therefore processes code a little bit differently. This is why it's so important to check your sites in different browsers to make sure everything is working/looking as expected. Check out this article for even more information:


If you look something up on a site like w3schools or mdn web docs it will actually show you browser compatibility of what you're looking up! Below are the links to the image tag pages on these 2 sites. See if you can scroll and find the browser compatibility charts!

Hope this helps!