Don't forget to gift yourself this Cyber Monday 👀 Get a year of Courses for $150 (40% off!)

💥 ALL NEW: Code Adventures! ⚡ Dare to embark on a front end coding adventure 🌟

Dive into new course Game Development with Phaser 👾

New AI course: Introduction to Computer Vision 💻

Learn about our new Community Discord server here and join us on Discord here!

New workshop: Discover AI-powered VS Code extensions like GitHub Copilot and IntelliCode 🤖

New course! Join Dan as he uses generative AI to design a website for a bakery 🥖

Jump into our new React Basics course 😎

Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰

Learn about our new Community Discord server here and join us on Discord here!

🤖 Check out all our AI content here 👀

Students: got a cool project or resource to share? Submit it to Treehouse Links! 🤩

  • Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Code Adventures
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • AI
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
  • Thristen Jones
    Thristen Jones
    2,824 Points

    The question is asking me to create an array called areas but when i do, the message error tells me i cant create one

    Posted July 1, 2022 4:35pm by Thristen Jones
    Thristen Jones
    2,824 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    1 Answer

  • Thristen Jones
    Thristen Jones
    2,824 Points

    I dont undertstand what im doing wrong

    Posted July 1, 2022 2:00am by Thristen Jones
    Thristen Jones
    2,824 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    1 Answer

  • Keytron Brown
    Keytron Brown
    15,828 Points

    Rect.1 is not defined error

    Posted September 22, 2021 9:08am by Keytron Brown
    Keytron Brown
    15,828 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    1 Answer

  • Amy Tomey
    Amy Tomey
    12,847 Points

    Frustrated... even when I copied and pasted the solution for # 1... I got an error. Bummer: Unexpected identifier

    Posted June 4, 2021 4:13am by Amy Tomey
    Amy Tomey
    12,847 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    2 Answers

  • richi richi
    richi richi
    552 Points

    Practice Getters and Setters in JavaScript

    Posted December 9, 2018 12:55am by richi richi
    richi richi
    552 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    4 Answers

  • andreavelayo
    andreavelayo
    8,724 Points

    what is wrong with my code. (Getter)

    Posted November 13, 2018 9:14am by andreavelayo
    andreavelayo
    8,724 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    1 Answer

  • George Neureuther
    George Neureuther
    8,625 Points

    create an array where? in the class? In the main part of the js file? in the get method?

    Posted October 26, 2018 2:16pm by George Neureuther
    George Neureuther
    8,625 Points
    • JavaScript
    • Practice Getters and Setters in JavaScript
    • Practicing Getters and Setters
    • Practice Creating and Accessing a Getter method

    1 Answer

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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.