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 trialStephen Todd
1,826 PointsMy Console is not working
My console is only displaying tons of Errors and Warnings. This is gonna be a lot but bear with me.
workspace-editor-5d752f8….js:576 Cannot register file extension "txt" for Subtitles, it already belongs to Text d.addFileExtension @ workspace-editor-5d752f8….js:576 2fs-sn2npaetcv.treehouse-app.com/ping Failed to load resource: the server responded with a status of 400 (Bad Request) 26618712:1 XMLHttpRequest cannot load https://fs-sn2npaetcv.treehouse-app.com/ping. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://teamtreehouse.com' is therefore not allowed access. The response had HTTP status code 400. 2fs-sn2npaetcv.treehouse-app.com/ping Failed to load resource: the server responded with a status of 400 (Bad Request) 26618712:1 XMLHttpRequest cannot load https://fs-sn2npaetcv.treehouse-app.com/ping. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://teamtreehouse.com' is therefore not allowed access. The response had HTTP status code 400. 2fs-sn2npaetcv.treehouse-app.com/ping Failed to load resource: the server responded with a status of 502 (Bad Gateway) 26618712:1 XMLHttpRequest cannot load https://fs-sn2npaetcv.treehouse-app.com/ping. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://teamtreehouse.com' is therefore not allowed access. The response had HTTP status code 502. 2fs-sn2npaetcv.treehouse-app.com/ping Failed to load resource: the server responded with a status of 502 (Bad Gateway) 26618712:1 XMLHttpRequest cannot load https://fs-sn2npaetcv.treehouse-app.com/ping. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://teamtreehouse.com' is therefore not allowed access. The response had HTTP status code 502. static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:422 StringUtils.htmlEscape is deprecated. Use _.escape instead. r @ static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:422 static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:790 addMenuItem(): missing required parameters: command p.addMenuItem @ static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:790 3static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:422 StringUtils.htmlEscape is deprecated. Use _.escape instead. r @ static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:422 static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:702 Deprecated: resizable panels should be created via PanelManager.createBottomPanel(). Using Resizer directly will stop working in the future. Element: init(1) s @ static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:702 49static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:422 StringUtils.htmlEscape is deprecated. Use _.escape instead. r @ static.teamtreehouse.com/assets/workspaces/workspace-editor-5d752f8329b7a93fe78d49281eefdd7f.js:422
2 Answers
Stephen Todd
1,826 PointsNo plugin or ad blocker is enabled.
Joel Kraft
Treehouse Guest TeacherThere are two browser windows you'll have open to work on this challenge. One window will hold the workspace itself, and the other will open when you click on the "eye" icon in the upper right-hand corner of the workspace. That second browser window is the one where you'll want to view the console. The output you pasted above appears to be from a console opened from the workspace itself. You can safely ignore that console.
You're opening a console from the correct window if you see only the text "Can you get the JavaScript to work?".
Hope this helps! Joel
Tatiana Perry
17,156 PointsTatiana Perry
17,156 PointsI had a similar issue, did you turn off any ad-blockers and plugins?