Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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,903 Points

    not sure what I could be missing from this

    Posted July 5, 2020 4:36am by Trevon Allen
    Trevon Allen
    7,903 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord