Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 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
  • Peter Huang
    Peter Huang
    5,427 Points

    Can someone provide the answers for this challenge?

    Posted December 24, 2022 4:38am by Peter Huang
    Peter Huang
    5,427 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Ronald Greer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ronald Greer
    Front End Web Development Techdegree Graduate 56,430 Points

    Having trouble with my array

    Posted December 21, 2021 8:29pm by Ronald Greer
    .a{fill-rule:evenodd;}techdegree seal-36
    Ronald Greer
    Front End Web Development Techdegree Graduate 56,430 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • omar abudeh
    omar abudeh
    191 Points

    its saying foreach isnt used... this is bs.. it wont let me move on.. i obviously used it

    Posted July 22, 2021 3:01am by omar abudeh
    omar abudeh
    191 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Kennedy Malonga
    Kennedy Malonga
    18,790 Points

    Using forEach, iterate over the numbers array and multiply each number by 10, storing these new numbers in the times10 a

    Posted June 3, 2021 6:28am by Kennedy Malonga
    Kennedy Malonga
    18,790 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Shoaib Khan
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Shoaib Khan
    Front End Web Development Techdegree Graduate 21,177 Points

    Need help with JS Array Iteration Challenge

    Posted April 28, 2020 3:37pm by Shoaib Khan
    .a{fill-rule:evenodd;}techdegree seal-36
    Shoaib Khan
    Front End Web Development Techdegree Graduate 21,177 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    2 Answers

  • Khumoyunmirzo Nosirov
    Khumoyunmirzo Nosirov
    8,689 Points

    Can Anyone help me

    Posted March 29, 2019 2:48pm by Khumoyunmirzo Nosirov
    Khumoyunmirzo Nosirov
    8,689 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    3 Answers

  • Suryapratap Singh Rathore
    Suryapratap Singh Rathore
    3,012 Points

    Unable to solve

    Posted January 23, 2019 7:37am by Suryapratap Singh Rathore
    Suryapratap Singh Rathore
    3,012 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    2 Answers

  • Eduardo Colombo
    Eduardo Colombo
    1,496 Points

    My code is correct

    Posted October 26, 2018 2:47pm by Eduardo Colombo
    Eduardo Colombo
    1,496 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Tanisha Robinson
    Tanisha Robinson
    11,050 Points

    I cannot figure out the first challenge.

    Posted October 12, 2018 4:56pm by Tanisha Robinson
    Tanisha Robinson
    11,050 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Andrew Courey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andrew Courey
    Front End Web Development Techdegree Graduate 15,310 Points

    What is wrong with this code?

    Posted October 12, 2018 4:47am by Andrew Courey
    .a{fill-rule:evenodd;}techdegree seal-36
    Andrew Courey
    Front End Web Development Techdegree Graduate 15,310 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Humoyunmirzo Nosirov
    PLUS
    Humoyunmirzo Nosirov
    Courses Plus Student 5,154 Points

    can anyone help me ,

    Posted August 28, 2018 10:04am by Humoyunmirzo Nosirov
    Humoyunmirzo Nosirov
    Courses Plus Student 5,154 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Jennifer Riess
    Jennifer Riess
    8,726 Points

    Help! Not sure if I have the concept down. Any hints would be welcome, but don't give the answer!

    Posted May 23, 2018 12:26am by Jennifer Riess
    Jennifer Riess
    8,726 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    3 Answers

  • Andres Recinos
    Andres Recinos
    1,290 Points

    what have I done wrong. I am not sure.

    Posted May 10, 2018 8:59pm by Andres Recinos
    Andres Recinos
    1,290 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • leahjoyce
    leahjoyce
    6,753 Points

    Using forEach, iterate over the numbers array and multiply each number by 10, storing these new nu

    Posted February 21, 2018 8:37pm by leahjoyce
    leahjoyce
    6,753 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    2 Answers

  • sebastian ward
    PLUS
    sebastian ward
    Courses Plus Student 6,243 Points

    I keep getting an invalid left-hand side in assignments what am I doing wrong

    Posted November 29, 2017 10:10pm by sebastian ward
    sebastian ward
    Courses Plus Student 6,243 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

  • Dan Smith
    Dan Smith
    2,942 Points

    How can i determine which part of the array i want to multiply and how do i send it to a new var?

    Posted November 25, 2017 2:22pm by Dan Smith
    Dan Smith
    2,942 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    3 Answers

  • Besleaga Alexandru Marian
    Besleaga Alexandru Marian
    1,754 Points

    Well this is new for me and until I get used to it, it will last a while. Help me solve this challenge...

    Posted October 26, 2017 8:17am by Besleaga Alexandru Marian
    Besleaga Alexandru Marian
    1,754 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    2 Answers

  • Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points

    I need help with this code challenge, seems really easy but I'm stuck

    Posted October 25, 2017 8:18pm by Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Array Iteration
    • Practice forEach()

    1 Answer

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