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.

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

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

  • 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
  • MUZ140252 Prudence Khupe
    MUZ140252 Prudence Khupe
    8,921 Points

    arrays

    Posted March 17, 2015 1:38pm by MUZ140252 Prudence Khupe
    MUZ140252 Prudence Khupe
    8,921 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    1 Answer

  • Ira Salem
    Ira Salem
    10,331 Points

    Technical Difficulties

    Posted February 4, 2015 2:40am by Ira Salem
    Ira Salem
    10,331 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    5 Answers

  • name564681351614
    name564681351614
    3,497 Points

    Quiz question number 2

    Posted January 16, 2015 6:56pm by name564681351614
    name564681351614
    3,497 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

  • Steven Quinn
    Steven Quinn
    12,519 Points

    Can somebody please give some advice with the second part of this task.

    Posted November 27, 2014 8:26am by Steven Quinn
    Steven Quinn
    12,519 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

  • Michael Randall
    PLUS
    Michael Randall
    Courses Plus Student 10,643 Points

    I'm not sure that I understand what they are asking in this question?

    Posted November 16, 2014 2:23am by Michael Randall
    Michael Randall
    Courses Plus Student 10,643 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    1 Answer

  • Yele X.
    Yele X.
    5,537 Points

    The variable 'thirdElementInArray' was supposed to be the third element in the array. -JavaScript Foundations

    Posted October 17, 2014 3:53am by Yele X.
    Yele X.
    5,537 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

  • Chris Nelson
    Chris Nelson
    4,978 Points

    setting 31st element of a 6-element array to a value - not working - help?

    Posted September 17, 2014 11:19pm by Chris Nelson
    Chris Nelson
    4,978 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    3 Answers

  • Dewi Tjin
    Dewi Tjin
    2,275 Points

    On about line 18, set the 31st element in 'myArray' to the word 'treehouse'.

    Posted August 16, 2014 8:53pm by Dewi Tjin
    Dewi Tjin
    2,275 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    3 Answers

  • Brian Kidd
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brian Kidd
    UX Design Techdegree Graduate 36,483 Points

    Arrays Stage four challenge 2

    Posted June 19, 2014 1:33am by Brian Kidd
    .a{fill-rule:evenodd;}techdegree seal-36
    Brian Kidd
    UX Design Techdegree Graduate 36,483 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    3 Answers

  • Ahmed Helmi
    Ahmed Helmi
    6,032 Points

    is it bugged

    Posted June 10, 2014 4:13pm by Ahmed Helmi
    Ahmed Helmi
    6,032 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

  • Fareedah James
    PLUS
    Fareedah James
    Courses Plus Student 6,199 Points

    Trouble getting elements in an array

    Posted June 10, 2014 5:06am by Fareedah James
    Fareedah James
    Courses Plus Student 6,199 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

  • orange sky
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points

    31st element, 30th position (Array) lingo

    Posted June 6, 2014 5:30am by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    3 Answers

  • Nazaam Kutisha
    Nazaam Kutisha
    7,667 Points

    Help with Challenge

    Posted May 31, 2014 5:45pm by Nazaam Kutisha
    Nazaam Kutisha
    7,667 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

  • Surendra Kulkarni
    Surendra Kulkarni
    6,826 Points

    setting Array length

    Posted May 20, 2014 1:18am by Surendra Kulkarni
    Surendra Kulkarni
    6,826 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    4 Answers

  • Neslee Rodillo
    Neslee Rodillo
    19,615 Points

    I don't understand the issue

    Posted May 15, 2014 9:43am by Neslee Rodillo
    Neslee Rodillo
    19,615 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    4 Answers

  • Brian CI
    Brian CI
    28,971 Points

    On about line 18, set the 31st element in 'myArray' to the word 'treehouse'.

    Posted April 5, 2014 9:32am by Brian CI
    Brian CI
    28,971 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    6 Answers

  • Brian CI
    Brian CI
    28,971 Points

    I don't understand the assignment

    Posted April 4, 2014 3:54pm by Brian CI
    Brian CI
    28,971 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    5 Answers

  • charles smith
    PLUS
    charles smith
    Courses Plus Student 3,322 Points

    I don't quite understand the question.

    Posted February 12, 2014 9:05pm by charles smith
    charles smith
    Courses Plus Student 3,322 Points
    • JavaScript
    • JavaScript Foundations
    • Arrays
    • Getting and Setting

    2 Answers

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