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 D3.js Data Binding with D3.js Introduction to JSON

What are your tools for this video?

It seems that I cannot retrieve test function. What html file name are you working with? Is it just phone.json? I cannot see similar html elements from the work space.

1 Answer

Huston (the teacher) was just opening a new browser tab/window, opening the dev tools/console and creating a new variable called test. He was copying and pasting content from Workspaces, rather than manually typing out the value of the variable each time he changed it.

You could even open the Chrome Dev Tools (or other browser's equivalent) from the Workspace window, though it probably won't be attached/docked like it would with a normal tab.

If you'd like more info on using Chrome Dev Tools, checkout Treehouse's Workshop Debugging a Web App With Chrome Dev Tools.