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
  • Nathan evans
    Nathan evans
    3,775 Points

    what is the error; ReferenceError: Left side of assignment is not a reference.

    Posted February 22, 2019 5:29am by Nathan evans
    Nathan evans
    3,775 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    2 Answers

  • Nygyman Kussainov
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nygyman Kussainov
    Front End Web Development Techdegree Student 8,134 Points

    Error

    Posted January 2, 2019 11:35am by Nygyman Kussainov
    .a{fill-rule:evenodd;}techdegree
    Nygyman Kussainov
    Front End Web Development Techdegree Student 8,134 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Ben Mohammad
    Ben Mohammad
    5,659 Points

    The push method.........

    Posted May 31, 2017 11:21am by Ben Mohammad
    Ben Mohammad
    5,659 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    2 Answers

  • Ronnie Rozo
    Ronnie Rozo
    1,372 Points

    Looks like task 1 is no longer passing error, for unSHift array challenge.

    Posted May 12, 2017 6:13pm by Ronnie Rozo
    Ronnie Rozo
    1,372 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    Ive tryd everything

    Posted November 19, 2016 5:22pm by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    2 Answers

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    Now, leaving the code from the last task in place, add 3 names to the beginning of the list using the unshift( ) array m

    Posted October 15, 2016 11:56pm by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    5 Answers

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    Now, leaving the code from the last task in place, add 3 names to the beginning of the list using the unshift( ) array m

    Posted October 7, 2016 11:52pm by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    What do i do?

    Posted October 2, 2016 2:47pm by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Swaley Smart
    Swaley Smart
    4,478 Points

    Now, add 3 names to the beginning of the list using the other array method you learned in the last video. Do not attempt

    Posted May 3, 2016 11:56am by Swaley Smart
    Swaley Smart
    4,478 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Neil Lopes
    Neil Lopes
    9,465 Points

    The script.js file contains an array called guestList. It contains a list of names. Add two new names to the end of the

    Posted January 20, 2016 11:44pm by Neil Lopes
    Neil Lopes
    9,465 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    2 Answers

  • Calvin Secrest
    Calvin Secrest
    24,815 Points

    The script.js file contains an array called guestLis...

    Posted January 20, 2016 8:45pm by Calvin Secrest
    Calvin Secrest
    24,815 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Jovan Hernandez
    Jovan Hernandez
    9,849 Points

    Error Adding Items to Array

    Posted November 3, 2015 12:55am by Jovan Hernandez
    Jovan Hernandez
    9,849 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Garvit Sharma
    Garvit Sharma
    2,683 Points

    how to add 3 names at the beginning of an array

    Posted August 3, 2015 8:11am by Garvit Sharma
    Garvit Sharma
    2,683 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • justinliwag
    justinliwag
    12,716 Points

    I keep getting an error that says my task 1 is no longer passing.

    Posted April 2, 2015 8:14am by justinliwag
    justinliwag
    12,716 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    1 Answer

  • Lewis Cowles
    Lewis Cowles
    74,902 Points

    Broken test

    Posted February 5, 2015 8:30am by Lewis Cowles
    Lewis Cowles
    74,902 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Tracking Multiple Items with Arrays
    • Adding Items to an Array

    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