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.

Sheena Tesch
316 PointsJava script console looks totally different than in the video. I've tried in chrome and safari.
I'm in java script introduction but the console looks totally different than it does in this video: https://teamtreehouse.com/library/javascript-basics/introducing-javascript/the-console-challenge
mine is much more complicated with many more errors showing up that i don't understand. I cannot figure out how to post a screenshot of the console, but I copied all the next and pasted it below:
[Warning] CodeMirror mode "text/plain" is already used by language Text - cannot fully register language Subtitles using the same mode. Some features will treat all content with this mode as language Text (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 2416) [Warning] Cannot register file extension "txt" for Subtitles, it already belongs to Text (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 2501) [Error] Failed to load resource: Preflight response is not successful (ping, line 0) [Error] XMLHttpRequest cannot load https://fs-sfqpz4oyvf.treehouse-app.com/ping. Preflight response is not successful [Error] Failed to load resource: Preflight response is not successful (ping, line 0) [Error] XMLHttpRequest cannot load https://fs-sfqpz4oyvf.treehouse-app.com/ping. Preflight response is not successful [Error] Failed to load resource: Preflight response is not successful (ping, line 0) [Error] XMLHttpRequest cannot load https://fs-sfqpz4oyvf.treehouse-app.com/ping. Preflight response is not successful [Warning] StringUtils.htmlEscape is deprecated. Use _.escape instead. (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 1936) [Error] addMenuItem(): missing required parameters: command addMenuItem (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js:5920) (anonymous function) (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js:11876) n (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js:767) r (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js:774) s (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js:15571) (anonymous function) (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js:15567) (anonymous function) (editor-dependencies-aa8cede8df5211e98c9ffa2843141ff10d9a478c71038d17273a35a6b604b6f7.js:14193) f (editor-dependencies-aa8cede8df5211e98c9ffa2843141ff10d9a478c71038d17273a35a6b604b6f7.js:3842:119) fireWith (editor-dependencies-aa8cede8df5211e98c9ffa2843141ff10d9a478c71038d17273a35a6b604b6f7.js:3885:99) r (editor-dependencies-aa8cede8df5211e98c9ffa2843141ff10d9a478c71038d17273a35a6b604b6f7.js:5052) (anonymous function) (editor-dependencies-aa8cede8df5211e98c9ffa2843141ff10d9a478c71038d17273a35a6b604b6f7.js:5210:145) nrWrapper (35684822:6:11721) [Warning] StringUtils.htmlEscape is deprecated. Use _.escape instead. (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 1936) [Warning] StringUtils.htmlEscape is deprecated. Use _.escape instead. (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 1936) [Warning] StringUtils.htmlEscape is deprecated. Use _.escape instead. (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 1936) [Warning] Deprecated: resizable panels should be created via PanelManager.createBottomPanel(). Using Resizer directly will stop working in the future. (workspace-editor-8ee6a1ed96cde5211ee30358cfab0ad748478696c5f4b9be23bfce6cf60910de.js, line 5477) Element: – oe (1) oe (1)

Sheena Tesch
316 PointsI would like to post a screenshot, but i cannot figure out how

Justin Cantley
18,054 PointsOnce your console is up, press the print screen button on your keyboard. This will copy the image on your screen to your clipboard. Then just paste it in to a program (like ms paint) and save to file to your desktop. Then post it in this comment box in the following format:


Sheena Tesch
316 Pointsstill can't get the screenshot into the comments, but here is a link to the screenshot https://drive.google.com/file/d/1v0Tl3UrXw5E9tIKxJQwyXdV4nfuUb0FF/view?usp=sharing

Justin Cantley
18,054 PointsTry moving your script tag outside of the div and add it just before the closing body tag for starters.
If you still get errors screenshot again and post it here.
1 Answer

Steven Parker
216,120 PointsScreenshots are rarely very helpful for diagnosing problems, but a workspace snapshot can be extremely useful.
Justin Cantley
18,054 PointsJustin Cantley
18,054 PointsCan you share a screenshot of what your console looks like?