๐Ÿค‘ 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
  • Jake Harris
    Jake Harris
    718 Points

    Is there something I'm doing wrong here? This works in my app but not in the treehouse challenge.

    Posted March 6, 2018 5:46pm by Jake Harris
    Jake Harris
    718 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to an Index Action
    • Populating the View

    1 Answer

  • Marcela Jackowski
    Marcela Jackowski
    2,045 Points

    We need to populate our page with the list of pets. For this first task, use the each method in ERB tags to loop over ea

    Posted June 12, 2017 12:20am by Marcela Jackowski
    Marcela Jackowski
    2,045 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to an Index Action
    • Populating the View

    3 Answers

  • Andrรฉ Hatlo-Johnsen
    Andrรฉ Hatlo-Johnsen
    1,170 Points

    Why is this not working?

    Posted April 25, 2017 2:56pm by Andrรฉ Hatlo-Johnsen
    Andrรฉ Hatlo-Johnsen
    1,170 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to an Index Action
    • Populating the View

    1 Answer

  • Stefan Piatkov
    Stefan Piatkov
    14,312 Points

    Now we need to output HTML <p> elements with the name attribute of each pet. Within the each block, add <p></p> HTML tag

    Posted April 9, 2017 9:03am by Stefan Piatkov
    Stefan Piatkov
    14,312 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to an Index Action
    • Populating the View

    1 Answer

  • Tian Siang Ong
    Tian Siang Ong
    5,911 Points

    help needed

    Posted February 8, 2017 4:44pm by Tian Siang Ong
    Tian Siang Ong
    5,911 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to an Index Action
    • Populating the View

    1 Answer

  • Yuichi Narisawa
    Yuichi Narisawa
    19,548 Points

    Challenge Task 2

    Posted November 14, 2016 4:18pm by Yuichi Narisawa
    Yuichi Narisawa
    19,548 Points
    • Ruby
    • Rails Routes and Resources
    • A Route to an Index Action
    • Populating the View

    1 Answer

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.