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 JavaScript Basics (Retired) Introducing JavaScript Review Adding Scripts and Simple JavaScript Commands

Nick Mouille
seal-mask
.a{fill-rule:evenodd;}techdegree
Nick Mouille
Full Stack JavaScript Techdegree Student 330 Points

Is there a recommended go-to resource for frequently used JavaScript? Like document.write or console.log

Common lines of code don't come to me easily while I'm doing the quizzes or code challenges. Is there an easy reference of these I can use?

1 Answer

The MDN documentation is always a good bet. I typed "document write MDN" into Google and got the fast track to the basic article.

MDN article on document.write

Just as an example. The MDN docs usually do a decent job of giving an example of usage, but you need to scroll down past the definitions and lists of properties and methods sometimes.