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

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