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

Am I supposed to code that function? If so which area of the workspace do I do that? Thank you

I'm not sure where to execute that part of the exercise. In the index.html or the game.js? Sorry but I am a 100% newb to this...

Ali Abbas
Ali Abbas
2,097 Points

Hey Kristian, There's a button in the corner that appears when watching the video, it says 'workspace'. When you click on it, it loads the workspace in which you can practice the code. Click on the 'game.js' file on the side and have fun!

1 Answer

Rania Zawawi
Rania Zawawi
22,240 Points

In the video, you're supposed to implement just like the teacher is doing in the lesson workspace after you launch it. and try to challenge yourself with the suggest challenge in lesson in the same workspace. then after a lesson you will be faced with a challenge to solve in browser. I hope you find this helpful