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 trialPrzemyslaw Chmiel
13,532 PointsCoin 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.
2 Answers
Jennifer Nordell
Treehouse TeacherHi 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!
Przemyslaw Chmiel
13,532 PointsThanks for your answer! That helps!
Adam Beer
11,314 PointsAdam Beer
11,314 PointsPlease 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.