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 Introduction to Programming Basics Writing Your Program

Nancy Melucci
Nancy Melucci
Front End Web Development Techdegree Student 34,536 Points

Loading the HTML file into Chrome Developer Mode

I can find developer mode and I can cut and paste my own code into the environment. But I can't figure out how to navigate to the actual HTML file with the code, including the JavaScript. My cut and pasted code has the right words ("Introduction to Programming") but the JS console messages don't come through. Thanks in advance.

2 Answers

Sean T. Unwin
Sean T. Unwin
28,660 Points

You have to create the HTML file - pause the video at 0:56 then type the HTML that is on the screen into a text editor (if using using Windows Notepad be sure to save it with UTF-8 encoding at the bottom of the 'Save As' dialog) and save it as `index.html' into a folder of your choice, just remember where it is.

Once that is done open that file in your browser and open the Dev Tools. From there you should be good, but if not be sure to ask!

Good luck. :-)