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 Introducing JavaScript Let's Make a Game Doing Things With Functions

Coin Collector don't work in Chrome, in firefox works

Hello Guys someone recognise this problem with chrome browser and pharser?

Uncaught DOMException: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The image element contains cross-origin data, and may not be loaded.

On Mozilia problem gone, but i would like why i got this sytuation in my fav web browser.

Adam Beer
Adam Beer
11,314 Points

Please show we your code.

Code

Wrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help us with syntax highlighting.

      ```html
      <p>This is code!</p>
      ```

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Contrary to the comment listed above, this particular problem likely has nothing to do with your code but rather the way Chrome in particular handles what it considers to be cross origin requests. In the Teacher's Notes associated with this video you can find links to instructions that will allow you to run this project in Chrome.

Hope this helps! :sparkles:

Thanks for your answer! That helps!