Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!