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.


Naomi Freeman
Naomi Freeman
Treehouse Guest Teacher

HTML5 workshop


In my index file, my file can't find itself to load.

Right now my game is inside the limejs folder.

lol something is off with my filepaths. Can anyone please help?

It's like Naomi - limejs - fish_game - index.html fish_game.js style.css fish.js images(folder)

In my HTML I'm trying to call

<body onload="fish_game.start()" style="background: #949494;">

and I'm getting this in the console: Uncaught ReferenceError: fish_game is not defined index.html:11 onload

How do I untangle this directory confusion?

Many thanks.

Randy Hoyt

Manuel Schulze
Manuel Schulze
12,739 Points

Probably this is outdated. But I got the same problem yesterday and I could fix it with an update with bin/lime.js update.

Greetings Manuel