• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Kristine Zakaite
    Kristine Zakaite
    2,037 Points

    Why the code doesnt execute on false condition?

    Posted February 4, 2023 2:42pm by Kristine Zakaite
    Kristine Zakaite
    2,037 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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.