🤑 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
    • Showing results for:
    • JavaScript
    • JavaScript Arrays
    • Loop Through Arrays
    • Array Methods
    • Close
  • Travis Mikolay
    Travis Mikolay
    4,355 Points

    This question is broken

    Posted on Feb 5 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 on Aug 30, 2022 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 on Jun 10, 2022 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 on Dec 8, 2021 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 on Aug 26, 2021 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 on Aug 10, 2021 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 on Jun 15, 2021 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 on Jun 6, 2021 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 on May 4, 2021 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 on May 1, 2021 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 on Mar 13, 2021 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 on Mar 5, 2021 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 on Feb 26, 2021 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 on Feb 20, 2021 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 on Jan 29, 2021 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 on Jan 9, 2021 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 on Dec 9, 2020 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 on Aug 27, 2020 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 on Jul 31, 2020 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 on Jul 31, 2020 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 on Jul 19, 2020 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 on Jul 9, 2020 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 on Jul 5, 2020 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.