🤑 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

  • 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
  • Mark Wisdom Reeves
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Mark Wisdom Reeves
    Full Stack JavaScript Techdegree Graduate 18,275 Points

    Complete the code below to store the number of items in the array scores into the variable totalScores:

    Posted December 3, 2019 3:05pm by Mark Wisdom Reeves
    .a{fill-rule:evenodd;}techdegree seal-36
    Mark Wisdom Reeves
    Full Stack JavaScript Techdegree Graduate 18,275 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • Rose M
    Rose M
    3,156 Points

    Store in Arrays How do I store a value in an array?

    Posted September 24, 2019 2:40pm by Rose M
    Rose M
    3,156 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • Vijayalaxmi vastrad
    Vijayalaxmi vastrad
    2,789 Points

    Complete the code below to store the number of items in the array scores into the variable totalScores:

    Posted September 13, 2019 8:37am by Vijayalaxmi vastrad
    Vijayalaxmi vastrad
    2,789 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • bhupendra rana
    PLUS
    bhupendra rana
    Courses Plus Student 5,610 Points

    Arrays

    Posted March 26, 2019 9:23pm by bhupendra rana
    bhupendra rana
    Courses Plus Student 5,610 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • james chhun
    james chhun
    5,932 Points

    var scores = [ 76, 79, 85, 87, 89 , 90, 99]; var totalScores = scores. ; .. ? what method do i use?

    Posted February 8, 2019 1:35pm by james chhun
    james chhun
    5,932 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • Randell Purington
    Randell Purington
    9,992 Points

    How am i wrong?

    Posted July 10, 2018 4:54am by Randell Purington
    Randell Purington
    9,992 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • jiwan gurung
    jiwan gurung
    4,248 Points

    im not sure why this is incorrect.the unshift method adds new values to the arrays.

    Posted November 20, 2017 4:48am by jiwan gurung
    jiwan gurung
    4,248 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • Abdullah Al Faruk
    PLUS
    Abdullah Al Faruk
    Courses Plus Student 3,270 Points

    How to do this?

    Posted July 22, 2017 2:20pm by Abdullah Al Faruk
    Abdullah Al Faruk
    Courses Plus Student 3,270 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • Apoorv Gusain
    Apoorv Gusain
    1,270 Points

    arrays

    Posted July 3, 2017 6:54pm by Apoorv Gusain
    Apoorv Gusain
    1,270 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • Julian Cubillos
    Julian Cubillos
    2,060 Points

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

    Posted June 5, 2017 7:51pm by Julian Cubillos
    Julian Cubillos
    2,060 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    0 Answers

  • Daniel Haasenritter
    PLUS
    Daniel Haasenritter
    Courses Plus Student 3,463 Points

    Confusing Question

    Posted June 3, 2017 7:23pm by Daniel Haasenritter
    Daniel Haasenritter
    Courses Plus Student 3,463 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • Julian Cubillos
    Julian Cubillos
    2,060 Points

    var scores = [ 76, 79, 85, 87, 89 , 90, 99]; var totalScores = scores.___________; Submit Answer

    Posted June 2, 2017 8:39pm by Julian Cubillos
    Julian Cubillos
    2,060 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • Melissa St Moore
    Melissa St Moore
    1,087 Points

    I'm not sure how to answer this question

    Posted January 8, 2017 2:59am by Melissa St Moore
    Melissa St Moore
    1,087 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • vsiddharthverma
    vsiddharthverma
    3,182 Points

    How to store the number of items in the array scores into the variable

    Posted November 30, 2016 5:29pm by vsiddharthverma
    vsiddharthverma
    3,182 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • terminator genesys
    terminator genesys
    1,134 Points

    code challenge

    Posted October 27, 2016 7:30pm by terminator genesys
    terminator genesys
    1,134 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • Sana Murad
    Sana Murad
    3,859 Points

    I enter ages.unshift (23); and it's giving me error, what's wrong

    Posted September 23, 2016 2:23am by Sana Murad
    Sana Murad
    3,859 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    2 Answers

  • channonhall
    channonhall
    12,247 Points

    I've been workin' on this for days now can someone help me? Can't seem to find the answer

    Posted July 25, 2016 12:32pm by channonhall
    channonhall
    12,247 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • SIYUOM MAMO
    SIYUOM MAMO
    6,818 Points

    finish the cod below to add the value 23 to the beginning of the array ages

    Posted July 17, 2016 11:02pm by SIYUOM MAMO
    SIYUOM MAMO
    6,818 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • Seth Warner
    Seth Warner
    5,348 Points

    On the quiz "Review Adding and Removing items form arrays". the question "Which array method returns the first", has

    Posted January 24, 2016 2:23am by Seth Warner
    Seth Warner
    5,348 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

    1 Answer

  • Tarandeep Singh
    Tarandeep Singh
    1,244 Points

    Complete the code below to store the number of items in the array scores into the variable totalScores:

    Posted October 31, 2015 9:07pm by Tarandeep Singh
    Tarandeep Singh
    1,244 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Review Adding and Removing Items from Arrays

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