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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Jasmine Thamapon
    Jasmine Thamapon
    420 Points

    You guys need to change this. Extremely complicated. Why do you even need to put a while loop?

    Posted July 26, 2019 3:30pm by Jasmine Thamapon
    Jasmine Thamapon
    420 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    0 Answers

  • David Greenstein
    David Greenstein
    6,734 Points

    Code not running cant quit program

    Posted October 4, 2017 5:43am by David Greenstein
    David Greenstein
    6,734 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    0 Answers

  • Andriy Bobrovych
    Andriy Bobrovych
    4,781 Points

    method ask

    Posted April 13, 2017 2:01pm by Andriy Bobrovych
    Andriy Bobrovych
    4,781 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    1 Answer

  • Justin Sze Wei Teo
    Justin Sze Wei Teo
    9,418 Points

    Kind = "number" wasn't declared, so why did phone = ask("Enter a phone number:") work?

    Posted October 19, 2016 2:37pm by Justin Sze Wei Teo
    Justin Sze Wei Teo
    9,418 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    2 Answers

  • Nick Yates
    Nick Yates
    8,621 Points

    my code is perfect but it won't work?

    Posted October 12, 2016 11:02pm by Nick Yates
    Nick Yates
    8,621 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    1 Answer

  • Erik Nuber
    Erik Nuber
    20,629 Points

    Code in video does not work as intended

    Posted March 26, 2016 3:42am by Erik Nuber
    Erik Nuber
    20,629 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    2 Answers

  • hamza razzak
    PLUS
    hamza razzak
    Courses Plus Student 2,782 Points

    How does ruby know which method to run first if two methods have been declared in the contact_list.rb file?

    Posted June 22, 2015 4:28pm by hamza razzak
    hamza razzak
    Courses Plus Student 2,782 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    2 Answers

  • Ron Chan
    Ron Chan
    10,987 Points

    Code challenge 1 of 3

    Posted March 21, 2015 1:07pm by Ron Chan
    Ron Chan
    10,987 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    1 Answer

  • Brandon Keene
    Brandon Keene
    7,217 Points

    Missing lines in Teacher's Notes Code Sample

    Posted February 22, 2015 5:33am by Brandon Keene
    Brandon Keene
    7,217 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    0 Answers

  • Alex Lowe
    Alex Lowe
    15,147 Points

    Using OR with while statements

    Posted January 16, 2015 11:10pm by Alex Lowe
    Alex Lowe
    15,147 Points
    • Ruby
    • Ruby Loops
    • Build a Simple Contact List
    • Part 2: Adding Contacts

    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.