✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 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

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • 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
    • Using let with for Loops
    • Close
  • MIHA W.LEE
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    MIHA W.LEE
    PHP Development Techdegree Graduate 25,452 Points

    The question about let tutorial

    Posted on Jul 26, 2019 by MIHA W.LEE
    .a{fill-rule:evenodd;}techdegree seal-36
    MIHA W.LEE
    PHP Development Techdegree Graduate 25,452 Points
    • JavaScript
    • Using let with for Loops

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    What's the difference between reassigning a value to a variable and creating multiple 'local' copies?

    Posted on Jun 8, 2019 by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • Using let with for Loops

    2 Answers

  • Axel Perossa
    Axel Perossa
    13,930 Points

    About the different values of 'i'

    Posted on Apr 18, 2018 by Axel Perossa
    Axel Perossa
    13,930 Points
    • JavaScript
    • Using let with for Loops

    1 Answer

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

    Question about the less < comparison

    Posted on Jan 16, 2018 by Philip Kroupoderov
    .a{fill-rule:evenodd;}techdegree seal-36
    Philip Kroupoderov
    Front End Web Development Techdegree Graduate 21,641 Points
    • JavaScript
    • Using let with for Loops

    1 Answer

  • Sahan Balasuriya
    Sahan Balasuriya
    10,115 Points

    How does it know which button I clicked?

    Posted on Oct 12, 2017 by Sahan Balasuriya
    Sahan Balasuriya
    10,115 Points
    • JavaScript
    • Using let with for Loops

    1 Answer

  • Sal Mike
    Sal Mike
    71 Points

    I didnt get any part of this tutorial. I am completely lost. Can anyone plz break down the code..!

    Posted on Sep 13, 2017 by Sal Mike
    Sal Mike
    71 Points
    • JavaScript
    • Using let with for Loops

    4 Answers

  • Farhad Lipo
    Farhad Lipo
    51 Points

    Can you mention what is exactly the scope of 'let' and 'var' in the video for loop?

    Posted on Aug 26, 2017 by Farhad Lipo
    Farhad Lipo
    51 Points
    • JavaScript
    • Using let with for Loops

    4 Answers

  • Nicholas Gaerlan
    Nicholas Gaerlan
    9,501 Points

    Why is there no explanation of hoisting?

    Posted on Aug 25, 2017 by Nicholas Gaerlan
    Nicholas Gaerlan
    9,501 Points
    • JavaScript
    • Using let with for Loops

    2 Answers

  • Jaroslav Kramar
    Jaroslav Kramar
    1,534 Points

    Doesnt work properly

    Posted on Aug 23, 2017 by Jaroslav Kramar
    Jaroslav Kramar
    1,534 Points
    • JavaScript
    • Using let with for Loops

    0 Answers

  • olu adesina
    olu adesina
    23,007 Points

    Dont understand how the buttons.length is used in this example

    Posted on Jun 11, 2017 by olu adesina
    olu adesina
    23,007 Points
    • JavaScript
    • Using let with for Loops

    3 Answers

  • Unsubscribed User
    Unsubscribed User
    3,436 Points

    How did the "i" iterate?

    Posted on Jun 3, 2017 by Unsubscribed User
    Unsubscribed User
    3,436 Points
    • JavaScript
    • Using let with for Loops

    3 Answers

  • Luca Di Pinto
    Luca Di Pinto
    8,051 Points

    Still difficult to understand this loop!

    Posted on Feb 19, 2017 by Luca Di Pinto
    Luca Di Pinto
    8,051 Points
    • JavaScript
    • Using let with for Loops

    4 Answers

  • Kieran Corcoran
    Kieran Corcoran
    11,188 Points

    Further explanation needed: for loop const button = button[i];

    Posted on Nov 29, 2016 by Kieran Corcoran
    Kieran Corcoran
    11,188 Points
    • JavaScript
    • Using let with for Loops

    4 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.