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 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.