🤑 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
  • Travis Mikolay
    Travis Mikolay
    4,355 Points

    This question is broken

    Posted February 5, 2025 8:02pm by Travis Mikolay
    Travis Mikolay
    4,355 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Frank Grillo
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Frank Grillo
    Front End Web Development Techdegree Graduate 16,715 Points

    How to write an Array Method with Join

    Posted August 30, 2022 10:35am by Frank Grillo
    .a{fill-rule:evenodd;}techdegree seal-36
    Frank Grillo
    Front End Web Development Techdegree Graduate 16,715 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Tall Toad
    Tall Toad
    2,746 Points

    Couldn't get this to work.

    Posted June 10, 2022 10:46pm by Tall Toad
    Tall Toad
    2,746 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • pakarang buacharoen
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    pakarang buacharoen
    Full Stack JavaScript Techdegree Student 1,897 Points

    I think the console.log line was where I went wrong, but I can't seems to figure out how to solve it

    Posted December 8, 2021 3:15am by pakarang buacharoen
    .a{fill-rule:evenodd;}techdegree
    pakarang buacharoen
    Full Stack JavaScript Techdegree Student 1,897 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Himanshu Anand
    Himanshu Anand
    4,666 Points

    const planets = ['Earth','Mars','Saturn','Mercury','Jupiter','Venus','Uranus','Neptune']; planets.join(', '); console.lo

    Posted August 26, 2021 4:35am by Himanshu Anand
    Himanshu Anand
    4,666 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    3 Answers

  • Riley O'Neil
    Riley O'Neil
    2,560 Points

    what are we supposed to put in the console?

    Posted August 10, 2021 2:37am by Riley O'Neil
    Riley O'Neil
    2,560 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Tach Narlyyev
    Tach Narlyyev
    2,238 Points

    const planets = ['Earth','Mars','Saturn','Mercury','Jupiter','Venus','Uranus','Neptune']; planets.join(', ') console.log

    Posted June 15, 2021 3:24pm by Tach Narlyyev
    Tach Narlyyev
    2,238 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • FAUSTO CAMACHO
    FAUSTO CAMACHO
    4,008 Points

    There's not answer for this. What does it mean to call the last string to the console?

    Posted June 6, 2021 7:01pm by FAUSTO CAMACHO
    FAUSTO CAMACHO
    4,008 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Alonzo Delk
    Alonzo Delk
    6,991 Points

    I could use some help because I'm unsure as to why my code isn't working?

    Posted May 4, 2021 9:16pm by Alonzo Delk
    Alonzo Delk
    6,991 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Marc Christiansen
    Marc Christiansen
    1,744 Points

    What does it want exactly?

    Posted May 1, 2021 9:23am by Marc Christiansen
    Marc Christiansen
    1,744 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Chris Dabatos
    Chris Dabatos
    1,170 Points

    Answer Please!

    Posted March 13, 2021 2:48am by Chris Dabatos
    Chris Dabatos
    1,170 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • William Polk
    William Polk
    9,026 Points

    Use the array method that combines all of the elements inside the planets array into a single string. The final string s

    Posted March 5, 2021 5:02pm by William Polk
    William Polk
    9,026 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Clare Yeadon
    Clare Yeadon
    5,553 Points

    Use the method that returns the position of Saturn in the planets array

    Posted February 26, 2021 9:57am by Clare Yeadon
    Clare Yeadon
    5,553 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Daniela Garcia
    Daniela Garcia
    5,071 Points

    Bummer: Are you using the method that joins array elements and returns a new string?

    Posted February 20, 2021 3:33am by Daniela Garcia
    Daniela Garcia
    5,071 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Eddy Franc
    Eddy Franc
    2,768 Points

    cant find a solution what is wrong with this challenge answer?

    Posted January 29, 2021 2:03am by Eddy Franc
    Eddy Franc
    2,768 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Muaaz Matwadia
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points

    console.log

    Posted January 9, 2021 9:34am by Muaaz Matwadia
    .a{fill-rule:evenodd;}techdegree seal-36
    Muaaz Matwadia
    Full Stack JavaScript Techdegree Graduate 19,327 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • terry okey
    terry okey
    3,187 Points

    Assigning a "joined" string to a new var?

    Posted December 9, 2020 7:48am by terry okey
    terry okey
    3,187 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Rogier Bogaards
    Rogier Bogaards
    3,315 Points

    final string

    Posted August 27, 2020 11:21am by Rogier Bogaards
    Rogier Bogaards
    3,315 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • jclaurent2
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    jclaurent2
    Front End Web Development Techdegree Student 10,899 Points

    Are you using the method that returns the index of a given element in an array?

    Posted July 31, 2020 10:14am by jclaurent2
    .a{fill-rule:evenodd;}techdegree
    jclaurent2
    Front End Web Development Techdegree Student 10,899 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • jclaurent2
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    jclaurent2
    Front End Web Development Techdegree Student 10,899 Points

    Are you logging the final string to the console?

    Posted July 31, 2020 9:50am by jclaurent2
    .a{fill-rule:evenodd;}techdegree
    jclaurent2
    Front End Web Development Techdegree Student 10,899 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Shanna vick-Morris
    Shanna vick-Morris
    6,683 Points

    Javascript Arrays

    Posted July 19, 2020 12:15am by Shanna vick-Morris
    Shanna vick-Morris
    6,683 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    2 Answers

  • Mica Phan
    Mica Phan
    12,241 Points

    Task 2 of Challenge is not working

    Posted July 9, 2020 2:45pm by Mica Phan
    Mica Phan
    12,241 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    1 Answer

  • Trevon Allen
    Trevon Allen
    7,902 Points

    not sure what I could be missing from this

    Posted July 5, 2020 4:36am by Trevon Allen
    Trevon Allen
    7,902 Points
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods

    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.