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

Stuart Wallace
Stuart Wallace
3,027 Points

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

Jason Larson
Jason Larson
7,955 Points

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.