"Node.js Basics 2017" was retired on September 1, 2022. You are now viewing the recommended replacement.

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 Interactive Web Pages with JavaScript JavaScript and the DOM What is an object?

Micole Noddle
Micole Noddle
5,797 Points

When I type "window" in the console it doesn't show the same thing as in the video?

I'm using Firefox and Andrew is using Chrome in the video. I have the JavaScript console open. It may look a little different, but, it still works pretty much the same...that is, until I type in "window". My console retrieves this : http://port-80-1d4hyhw2pf.treehouse-app.com, which, when clicked on brings me to the preview window for the workspaces project. It doesn't list everything that comes up when Andrew types in "window" on the Chrome console.

Does anyone know why this happens or has anyone had a similar experience? Suggestions as to how to work around it while still using Firefox? (please don't tell me to use Chrome as a solution, I'm really curious about Firefox! :-) )

Thanks for your help!

1 Answer

Karalyn Heath
Karalyn Heath
18,033 Points

When you type window into the Firefox console it brings back Window → http://port-80-1d4hyhw2pf.treehouse-app.com. If you click on Window that comes before the link, Firefox opens the object on the right side of the console. This is what Andrew gets in Chrome. Its just in a different format. Each browser displays the developer tools a bit differently.

Micole Noddle
Micole Noddle
5,797 Points

Thanks, Karalyn. I noticed that but wasn't sure if it was the same as what Andrew was seeing. Now I know! :)

Scott Chen
Scott Chen
8,026 Points

Nothing happens when I click on the window that comes above the link :[

I took a screen shot: http://imgur.com/tHUqNq6

Scott Chen -If you are using Firefox, make sure you are clicking on the word 'window' directly to the left of the link (Window → http://port-80-upse79cgze.treehouse-app.com) to list the properties in a separate space to the right. It should be the second time 'window' is printed. The first time 'window' is printed, it is showing you what you entered into the console (notice the left-pointing arrow to the left of that particular line).