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
  • Justin Mcmullan
    Justin Mcmullan
    1,003 Points

    overThinking

    Posted February 8, 2020 11:21pm by Justin Mcmullan
    Justin Mcmullan
    1,003 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • phillip smith
    phillip smith
    1,820 Points

    whats the answer and why

    Posted December 28, 2019 6:56pm by phillip smith
    phillip smith
    1,820 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Johnny Jones
    Johnny Jones
    10,162 Points

    "while ( counter < 11 )". Why is it not 10?

    Posted February 26, 2019 11:09pm by Johnny Jones
    Johnny Jones
    10,162 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • kim corson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    kim corson
    Full Stack JavaScript Techdegree Student 1,783 Points

    What is the answer to this question ?!!

    Posted August 28, 2018 1:51am by kim corson
    .a{fill-rule:evenodd;}techdegree
    kim corson
    Full Stack JavaScript Techdegree Student 1,783 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • Megan Cross
    Megan Cross
    2,045 Points

    I have tried this three different ways and it won't pass what's wrong

    Posted May 24, 2018 1:11am by Megan Cross
    Megan Cross
    2,045 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Abdullahi Abdinasir Ali
    Abdullahi Abdinasir Ali
    9,520 Points

    How do I called it 10times

    Posted April 23, 2018 6:49am by Abdullahi Abdinasir Ali
    Abdullahi Abdinasir Ali
    9,520 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • SHUTO KAKU
    SHUTO KAKU
    15,001 Points

    Can anyone help me this challenge.. i didn't understand why i was wrong.

    Posted April 21, 2018 5:25am by SHUTO KAKU
    SHUTO KAKU
    15,001 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • Hilary Katsande
    Hilary Katsande
    9,045 Points

    missing while loop

    Posted April 5, 2018 8:15pm by Hilary Katsande
    Hilary Katsande
    9,045 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Mathew Yangang
    Mathew Yangang
    4,433 Points

    This code is not working

    Posted December 16, 2017 12:06am by Mathew Yangang
    Mathew Yangang
    4,433 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • Yemaya Re
    PLUS
    Yemaya Re
    Courses Plus Student 1,922 Points

    Very confused by this question...

    Posted October 19, 2017 2:48am by Yemaya Re
    Yemaya Re
    Courses Plus Student 1,922 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • Nicholas Chetto
    Nicholas Chetto
    4,221 Points

    the restart button doesn't work

    Posted September 23, 2017 3:57pm by Nicholas Chetto
    Nicholas Chetto
    4,221 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • sami thakur
    sami thakur
    970 Points

    why does this keep crashing my browser???

    Posted August 29, 2017 7:18am by sami thakur
    sami thakur
    970 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • David Enus
    David Enus
    646 Points

    I keep having this syntax error and i am stuck.Please Help!

    Posted August 4, 2017 5:54pm by David Enus
    David Enus
    646 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    3 Answers

  • jrmcintyre
    jrmcintyre
    4,892 Points

    Document.write problem

    Posted July 5, 2017 3:44am by jrmcintyre
    jrmcintyre
    4,892 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • John Erickson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    John Erickson
    Full Stack JavaScript Techdegree Student 3,916 Points

    Loop executes, however provides the same random number rather than varying numbers.

    Posted July 8, 2016 2:43pm by John Erickson
    .a{fill-rule:evenodd;}techdegree
    John Erickson
    Full Stack JavaScript Techdegree Student 3,916 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Jason Peay
    Jason Peay
    16,515 Points

    How to Run a Loop?

    Posted May 5, 2016 6:24pm by Jason Peay
    Jason Peay
    16,515 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • Sravanthi Kota
    Sravanthi Kota
    425 Points

    how do i write the code

    Posted March 27, 2016 7:02am by Sravanthi Kota
    Sravanthi Kota
    425 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • Kendall Chung
    Kendall Chung
    9,511 Points

    This is a nearly complete while loop, but something is missing. The loop should run 10 times, but it's not working at al

    Posted December 3, 2015 2:21am by Kendall Chung
    Kendall Chung
    9,511 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    4 Answers

  • Ellen White
    Ellen White
    4,280 Points

    complete a while loop

    Posted November 17, 2015 3:13pm by Ellen White
    Ellen White
    4,280 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Cesare Parmiggiani
    Cesare Parmiggiani
    8,017 Points

    Don't understand

    Posted August 18, 2015 6:05pm by Cesare Parmiggiani
    Cesare Parmiggiani
    8,017 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • analyn jane calado
    analyn jane calado
    3,523 Points

    I'm stuck here!

    Posted August 10, 2015 4:30pm by analyn jane calado
    analyn jane calado
    3,523 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Seth Johnson
    Seth Johnson
    2,676 Points

    Isn't this just missing the condition "counter > 11" ? I can't figure out what else would be missing.

    Posted July 28, 2015 11:46pm by Seth Johnson
    Seth Johnson
    2,676 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    1 Answer

  • Fikreyesus Desta
    Fikreyesus Desta
    4,009 Points

    Please let me know what my mistake is.

    Posted June 2, 2015 1:28pm by Fikreyesus Desta
    Fikreyesus Desta
    4,009 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    3 Answers

  • Bobbi Jo Bland
    Bobbi Jo Bland
    7,315 Points

    Please help with this challenge...

    Posted May 29, 2015 8:00pm by Bobbi Jo Bland
    Bobbi Jo Bland
    7,315 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    2 Answers

  • MUZ140057 Dumisani Nyamusa
    MUZ140057 Dumisani Nyamusa
    8,029 Points

    simply repetitive task with loops

    Posted March 9, 2015 10:29am by MUZ140057 Dumisani Nyamusa
    MUZ140057 Dumisani Nyamusa
    8,029 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Complete the Loop

    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