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

New No-Code Track! 🚀 New videos dropping every week—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
  • Patty Johnson
    Patty Johnson
    26,560 Points

    Question will not accept "this.gpa" - it says "Bummer: Unexpected token this"

    Posted August 18, 2021 8:58pm by Patty Johnson
    Patty Johnson
    26,560 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • Mel Rojo
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Mel Rojo
    Full Stack JavaScript Techdegree Student 4,699 Points

    Declare an empty class called Student

    Posted August 12, 2021 10:51pm by Mel Rojo
    .a{fill-rule:evenodd;}techdegree
    Mel Rojo
    Full Stack JavaScript Techdegree Student 4,699 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    3 Answers

  • Alonzo Delk
    Alonzo Delk
    6,991 Points

    Adding Properties

    Posted June 16, 2021 10:35pm by Alonzo Delk
    Alonzo Delk
    6,991 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    2 Answers

  • Brendan Dzeguze
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Dzeguze
    Front End Web Development Techdegree Graduate 14,567 Points

    is there an error in the terminal?

    Posted November 18, 2020 10:20pm by Brendan Dzeguze
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Dzeguze
    Front End Web Development Techdegree Graduate 14,567 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • Welcome Julius
    Welcome Julius
    9,076 Points

    Declare an empty class called Student. i need help with this challenge

    Posted August 28, 2020 12:09am by Welcome Julius
    Welcome Julius
    9,076 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • Ruonan Pi
    Ruonan Pi
    5,455 Points

    can't check work.

    Posted May 12, 2020 7:03pm by Ruonan Pi
    Ruonan Pi
    5,455 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points

    Can someone guide me in the right directions?I would greatly appreciate it.

    Posted December 30, 2019 6:55pm by SHAWNELL HARRISON
    SHAWNELL HARRISON
    16,282 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • Bethany Wallace
    Bethany Wallace
    3,833 Points

    I can't figure out this challenge! Add a parameter called gpa to the constructor method, and then create a gpa property.

    Posted December 26, 2019 5:17pm by Bethany Wallace
    Bethany Wallace
    3,833 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    2 Answers

  • Nikki Kauffmann
    Nikki Kauffmann
    8,032 Points

    IDK What I'm doing wrong

    Posted April 28, 2019 8:30pm by Nikki Kauffmann
    Nikki Kauffmann
    8,032 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    2 Answers

  • Alex Ng
    Alex Ng
    11,245 Points

    Why has the class I'm trying to create already been declared for the code challenge? (Object Oriented JavaScript)

    Posted December 17, 2018 2:19am by Alex Ng
    Alex Ng
    11,245 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • John Yoder
    John Yoder
    5,130 Points

    Getting unexpected token for colon in the gpa property line

    Posted December 3, 2018 3:14pm by John Yoder
    John Yoder
    5,130 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    2 Answers

  • Felex Chivave
    Felex Chivave
    7,288 Points

    help i cant create the needed infor here

    Posted June 8, 2018 11:17am by Felex Chivave
    Felex Chivave
    7,288 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • Jason Berry
    Jason Berry
    5,180 Points

    Need help

    Posted May 29, 2018 8:27pm by Jason Berry
    Jason Berry
    5,180 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    1 Answer

  • Tawanda Shawn Kuimba
    Tawanda Shawn Kuimba
    6,635 Points

    empty constructor

    Posted May 11, 2018 11:03am by Tawanda Shawn Kuimba
    Tawanda Shawn Kuimba
    6,635 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    2 Answers

  • Bernard Chiyangwa
    Bernard Chiyangwa
    7,094 Points

    Declare an empty class called Student.

    Posted April 26, 2018 12:23pm by Bernard Chiyangwa
    Bernard Chiyangwa
    7,094 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Working with Classes in JavaScript
    • Creating a new class

    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
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.