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 JavaScript Basics Hello, JavaScript! JavaScript Practice Challenge

I can't view the output of my code from the workspace on my browser for Javascript. It comes up with an error message.

I am typing my code in the workspace, then saving and pressing the eye to see the product of my code on the browser but i get an error message - 'The audio content was not allowed to start. It must be resumed (or created) after a user gesture on the page.' Then a link to the Google autoplay policy.

1 Answer

Since there shouldn't be any audio content for that practice challenge, we would need to see the code from your workspace to see what's causing the error. Please link to your workspace or paste in your .js file and the index.html file if you made changes to it.