🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Krystal Jackson
    Krystal Jackson
    8,598 Points

    My code isn't passing, I used the dir method as instructed.

    Posted January 12, 2017 5:57pm by Krystal Jackson
    Krystal Jackson
    8,598 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    1 Answer

  • Krystal Jackson
    Krystal Jackson
    8,598 Points

    What is the dir method is wasn't shown in the video?

    Posted January 9, 2017 2:43pm by Krystal Jackson
    Krystal Jackson
    8,598 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    1 Answer

  • Marisa Sato
    Marisa Sato
    232 Points

    Hello

    Posted September 19, 2016 11:29pm by Marisa Sato
    Marisa Sato
    232 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    1 Answer

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    how to use the dir method

    Posted July 6, 2016 9:25pm by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • himsa devil
    PLUS
    himsa devil
    Courses Plus Student 297 Points

    Use the log method on the console object to print out the name variable.

    Posted June 30, 2016 3:15pm by himsa devil
    himsa devil
    Courses Plus Student 297 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    4 Answers

  • Ranjita Patel
    Ranjita Patel
    1,069 Points

    Dir method on console object

    Posted February 19, 2016 10:58am by Ranjita Patel
    Ranjita Patel
    1,069 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • sarunchinskul
    sarunchinskul
    4,328 Points

    what is dir

    Posted January 15, 2016 3:42pm by sarunchinskul
    sarunchinskul
    4,328 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • Bryce Linch
    Bryce Linch
    7,495 Points

    How do i bring up the console it's asking?

    Posted December 31, 2015 9:43pm by Bryce Linch
    Bryce Linch
    7,495 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    3 Answers

  • jaswant sandhu
    jaswant sandhu
    2,148 Points

    Didn't got how to write DIR method on Console

    Posted December 5, 2015 2:25pm by jaswant sandhu
    jaswant sandhu
    2,148 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    1 Answer

  • Ary de Oliveira
    PLUS
    Ary de Oliveira
    Courses Plus Student 28,304 Points

    JavaScript

    Posted December 4, 2015 3:52pm by Ary de Oliveira
    Ary de Oliveira
    Courses Plus Student 28,304 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    3 Answers

  • Ary de Oliveira
    PLUS
    Ary de Oliveira
    Courses Plus Student 28,304 Points

    JavaScript

    Posted December 4, 2015 3:49pm by Ary de Oliveira
    Ary de Oliveira
    Courses Plus Student 28,304 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • Bami Learn
    Bami Learn
    914 Points

    log method to print out a var

    Posted June 17, 2015 8:03am by Bami Learn
    Bami Learn
    914 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • Sofia Petsoulakis
    Sofia Petsoulakis
    681 Points

    What is the dir method?

    Posted April 23, 2015 4:09pm by Sofia Petsoulakis
    Sofia Petsoulakis
    681 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    1 Answer

  • San Francisco
    San Francisco
    28,373 Points

    Did I miss something?

    Posted April 11, 2015 7:31pm by San Francisco
    San Francisco
    28,373 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    1 Answer

  • George Akinian
    George Akinian
    17,615 Points

    Not sure how to solve

    Posted February 13, 2015 11:41pm by George Akinian
    George Akinian
    17,615 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • Francis Volpe
    Francis Volpe
    819 Points

    Dir method I haven't seen a lesson on the dir method. where do I find the info on this method?

    Posted January 30, 2015 3:14pm by Francis Volpe
    Francis Volpe
    819 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

  • Gino Mangnoesing
    Gino Mangnoesing
    6,744 Points

    Stuck in Challenge

    Posted December 15, 2014 9:59pm by Gino Mangnoesing
    Gino Mangnoesing
    6,744 Points
    • JavaScript
    • Node.js Basics (2014)
    • Introduction to Node.js
    • The Console

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.