🤑 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
  • Kaya loves watermelon
    Kaya loves watermelon
    12,717 Points

    Complete this code by including the shorthand operator that increases the value assigned to counter by one each time....

    Posted November 20, 2023 4:10pm by Kaya loves watermelon
    Kaya loves watermelon
    12,717 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    2 Answers

  • Kristine Zakaite
    Kristine Zakaite
    2,236 Points

    Why the code doesnt execute on false condition?

    Posted February 4, 2023 2:42pm by Kristine Zakaite
    Kristine Zakaite
    2,236 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Angelica Islas
    Angelica Islas
    4,082 Points

    How do I complete this do.... while... loop

    Posted April 25, 2021 5:11pm by Angelica Islas
    Angelica Islas
    4,082 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • emmanuelsantana
    emmanuelsantana
    2,415 Points

    Why is this code incorrect? let i = 1; do { console.log( `#${i}` ); i += 1; } while ( i <= 15 )

    Posted April 12, 2021 1:12pm by emmanuelsantana
    emmanuelsantana
    2,415 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • henry onyedum
    henry onyedum
    5,423 Points

    what could go in the curlybraces ?

    Posted February 12, 2021 3:19am by henry onyedum
    henry onyedum
    5,423 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Bilal Sleiman
    Bilal Sleiman
    2,403 Points

    Please fill in the correct answer in each blank provided below.

    Posted January 10, 2021 6:08pm by Bilal Sleiman
    Bilal Sleiman
    2,403 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    0 Answers

  • Denise Falcone
    Denise Falcone
    1,053 Points

    Please explain why this false condition causes an infinite loop

    Posted December 4, 2020 9:00pm by Denise Falcone
    Denise Falcone
    1,053 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Daniel Alexander Lowes
    Daniel Alexander Lowes
    6,049 Points

    let i = 1; do { console.log( `#${i}` ); i += ; } while ( i <= 15 ) So I have not figured out what todo here

    Posted October 27, 2020 7:21am by Daniel Alexander Lowes
    Daniel Alexander Lowes
    6,049 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Kevin Leong
    Kevin Leong
    1,664 Points

    Never told what the input was

    Posted October 6, 2020 10:47pm by Kevin Leong
    Kevin Leong
    1,664 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Kevin Leong
    Kevin Leong
    1,664 Points

    Quiz JavaScript Loops

    Posted October 6, 2020 10:39pm by Kevin Leong
    Kevin Leong
    1,664 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    2 Answers

  • SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points

    Please I need help

    Posted September 27, 2020 6:27pm by SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points

    Please can someone help

    Posted September 27, 2020 6:23pm by SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Thomas Ma
    Thomas Ma
    15,199 Points

    let counter = 0; do { console.log('I love JavaScript!'); counter; } while ( counter <= 9)

    Posted August 24, 2020 12:18am by Thomas Ma
    Thomas Ma
    15,199 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

  • Jelena Feliciano
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jelena Feliciano
    Full Stack JavaScript Techdegree Student 12,729 Points

    This answer doesn't work here but it works on the MDN. not sure what we're looking for here

    Posted August 13, 2020 8:36pm by Jelena Feliciano
    .a{fill-rule:evenodd;}techdegree
    Jelena Feliciano
    Full Stack JavaScript Techdegree Student 12,729 Points
    • JavaScript
    • JavaScript Loops
    • Simplify Repetitive Tasks with Loops
    • Review while, do...while, and Loop Conditions

    1 Answer

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.