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
  • Seth wright
    Seth wright
    952 Points

    DOM rendering in separate file on Visual Studio... how can I access the array?

    Posted November 18, 2022 3:40am by Seth wright
    Seth wright
    952 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Micah Cleveland
    Micah Cleveland
    633 Points

    Question answered later on in the video.

    Posted July 2, 2022 8:17pm by Micah Cleveland
    Micah Cleveland
    633 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,136 Points

    Why forEach() is not working

    Posted May 3, 2022 8:49pm by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,136 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • Nnanna Okoli
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Nnanna Okoli
    Front End Web Development Techdegree Graduate 19,181 Points

    Error rendering Guils code at line 60

    Posted April 26, 2022 10:15pm by Nnanna Okoli
    .a{fill-rule:evenodd;}techdegree seal-36
    Nnanna Okoli
    Front End Web Development Techdegree Graduate 19,181 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Oladimeji Shekoni
    PLUS
    Oladimeji Shekoni
    Courses Plus Student 1,701 Points

    I'm trying to run my react code but i keep getting this error. error Couldn't find a package.json file in "C:\\Users\\dj

    Posted April 20, 2021 11:44am by Oladimeji Shekoni
    Oladimeji Shekoni
    Courses Plus Student 1,701 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Jason Herscovici
    Jason Herscovici
    8,683 Points

    Error when loading into browser

    Posted April 15, 2021 3:33pm by Jason Herscovici
    Jason Herscovici
    8,683 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • Nigel Msipa
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nigel Msipa
    Full Stack JavaScript Techdegree Student 12,060 Points

    why use map as opposed to forEach?

    Posted March 27, 2021 11:34pm by Nigel Msipa
    .a{fill-rule:evenodd;}techdegree
    Nigel Msipa
    Full Stack JavaScript Techdegree Student 12,060 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • travis halarewich
    travis halarewich
    9,165 Points

    The difference between "players" and "player"

    Posted November 20, 2020 9:27pm by travis halarewich
    travis halarewich
    9,165 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Kosta Kuts
    Kosta Kuts
    15,894 Points

    How about using " and ' with HTML string?

    Posted February 22, 2020 7:06am by Kosta Kuts
    Kosta Kuts
    15,894 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • elisha day
    elisha day
    5,115 Points

    I followed everything in this video and it is saying cannot read property 'map' of undefined

    Posted January 30, 2020 9:57pm by elisha day
    elisha day
    5,115 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • lassek
    lassek
    8,209 Points

    Lacking explanation of array magically converted to JSX

    Posted October 21, 2019 2:38pm by lassek
    lassek
    8,209 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • Brett Gamble
    Brett Gamble
    407 Points

    Players array not appearing

    Posted July 23, 2019 11:06pm by Brett Gamble
    Brett Gamble
    407 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    4 Answers

  • Heather Lau
    Heather Lau
    16,665 Points

    Should I use constructor in react component or not?

    Posted July 22, 2019 8:41am by Heather Lau
    Heather Lau
    16,665 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • hun ee4
    hun ee4
    161 Points

    During Iterating and Rendering with map() ,why and where it comes from ? why typing props.initialPlayers.map

    Posted April 16, 2019 7:51pm by hun ee4
    hun ee4
    161 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • jlampstack
    jlampstack
    23,932 Points

    Using Explicit Return for this lesson

    Posted February 8, 2019 3:28pm by jlampstack
    jlampstack
    23,932 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Conrad Casper
    Conrad Casper
    4,082 Points

    Why do you give initialPlayers={} as a prop to the rendered App component instead of the actual App component itself?

    Posted January 21, 2019 10:46pm by Conrad Casper
    Conrad Casper
    4,082 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • yoav green
    yoav green
    8,611 Points

    i'm keep getting a message in the console

    Posted January 16, 2019 12:59pm by yoav green
    yoav green
    8,611 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Takuya Hirata
    Takuya Hirata
    23,296 Points

    map()

    Posted December 27, 2018 7:15pm by Takuya Hirata
    Takuya Hirata
    23,296 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    2 Answers

  • Darion Suggs
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Darion Suggs
    Full Stack JavaScript Techdegree Student 3,064 Points

    props

    Posted November 21, 2018 5:32am by Darion Suggs
    .a{fill-rule:evenodd;}techdegree
    Darion Suggs
    Full Stack JavaScript Techdegree Student 3,064 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    1 Answer

  • Otto linden
    Otto linden
    5,857 Points

    How are players and player connected?

    Posted October 18, 2018 10:08am by Otto linden
    Otto linden
    5,857 Points
    • JavaScript
    • React Basics (2018)
    • Introducing Props
    • Iterating and Rendering with map()

    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