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

Programming basics

In the basics programming how do you get the text editor to link with the page in developer tools for chrome on windows i don't know how to do this and i can't move onto the next stage in the programming for beginners because of this help please

James Barnett
James Barnett
39,199 Points

When asking questions about a particular video it's best to link to it so everyone is on the same page.

2 Answers

James Barnett
James Barnett
39,199 Points
  1. Write HTML & JavaScript in your text editor
  2. Save the file as HTML using your text editor
  3. Open HTML file in your web browser
  4. Open the JavaScript console, in Chrome you do that by using the shortcut Ctrl+Shift+J

Is there a shortcut for opening HTML & JAVASCRIPT on general text editors which one would you suggest for windows

James Barnett
James Barnett
39,199 Points

Depends on the text editor everyone is different.

I use Notepad++ on Windows and to view an HTML file you are editing using Notepad++ in Chrome the shortcut is Ctrl+Alt+Shift+A.

Thanks for that mate really helped me out

Matt Campbell
Matt Campbell
9,767 Points

I'd suggest doing the HTML and CSS courses before heading into programming.

Even if i want to build a mobile app because isnt that boardering onto webpage programming