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
  • Nikola Jankovic
    Nikola Jankovic
    10,793 Points

    prototype challenge in object oriented javascript

    Posted September 24, 2017 6:57pm by Nikola Jankovic
    Nikola Jankovic
    10,793 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Nathan Keene
    Nathan Keene
    7,595 Points

    `Monster.prototype.takeDamage` is not a function

    Posted August 9, 2017 11:31pm by Nathan Keene
    Nathan Keene
    7,595 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Barry Ort
    Barry Ort
    12,373 Points

    what is missing?

    Posted May 14, 2017 5:41pm by Barry Ort
    Barry Ort
    12,373 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • David Curran
    David Curran
    7,682 Points

    Javascript prototyping

    Posted April 1, 2017 8:11am by David Curran
    David Curran
    7,682 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Anusha Singh
    PLUS
    Anusha Singh
    Courses Plus Student 22,106 Points

    Can you help me with this??

    Posted April 21, 2016 10:40am by Anusha Singh
    Anusha Singh
    Courses Plus Student 22,106 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Lewis Long
    Lewis Long
    2,823 Points

    [SOLVED] Please help, I'm afraid I don't quite understand the prototype method.

    Posted April 7, 2016 7:31pm by Lewis Long
    Lewis Long
    2,823 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • Martin Guzman
    Martin Guzman
    11,573 Points

    ??? object oriented challenge

    Posted March 28, 2016 10:01pm by Martin Guzman
    Martin Guzman
    11,573 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Ricard Taujenis
    Ricard Taujenis
    4,383 Points

    We're adding a new method to every instance when a Monster is created. Use a prototype instead for the takeDamage method

    Posted February 26, 2016 5:11pm by Ricard Taujenis
    Ricard Taujenis
    4,383 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • liam johnshon
    PLUS
    liam johnshon
    Courses Plus Student 904 Points

    what wrong here ?

    Posted February 8, 2016 8:06am by liam johnshon
    liam johnshon
    Courses Plus Student 904 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • MUZ140884 Maxwell Makumucha
    MUZ140884 Maxwell Makumucha
    6,291 Points

    Adding the prototype

    Posted October 9, 2015 3:18pm by MUZ140884 Maxwell Makumucha
    MUZ140884 Maxwell Makumucha
    6,291 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • MUZ140884 Maxwell Makumucha
    MUZ140884 Maxwell Makumucha
    6,291 Points

    Adding the prototype

    Posted October 9, 2015 3:18pm by MUZ140884 Maxwell Makumucha
    MUZ140884 Maxwell Makumucha
    6,291 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • RUPESH BASUDE
    RUPESH BASUDE
    2,932 Points

    creating Prototype

    Posted September 15, 2015 7:40am by RUPESH BASUDE
    RUPESH BASUDE
    2,932 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    3 Answers

  • Aaron HARPT
    Aaron HARPT
    19,845 Points

    Code challenge question

    Posted July 28, 2015 8:11pm by Aaron HARPT
    Aaron HARPT
    19,845 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    3 Answers

  • San Francisco
    San Francisco
    28,373 Points

    Halp please

    Posted July 19, 2015 11:54am by San Francisco
    San Francisco
    28,373 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Jillian Forde
    Jillian Forde
    3,138 Points

    Why is my prototype not allowing me to create a method?

    Posted July 12, 2015 12:15am by Jillian Forde
    Jillian Forde
    3,138 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • Pablo Grippo
    Pablo Grippo
    25,765 Points

    I can't figure out how the prototype is. Please, help me!

    Posted July 8, 2015 6:13pm by Pablo Grippo
    Pablo Grippo
    25,765 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • Matt Bloomer
    Matt Bloomer
    10,608 Points

    Can someone help me?

    Posted July 1, 2015 7:26pm by Matt Bloomer
    Matt Bloomer
    10,608 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    2 Answers

  • Matt Bloomer
    Matt Bloomer
    10,608 Points

    prototypes

    Posted July 1, 2015 5:56pm by Matt Bloomer
    Matt Bloomer
    10,608 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • Mari Selvan
    Mari Selvan
    2,438 Points

    using prototype in monster.js

    Posted June 29, 2015 7:37pm by Mari Selvan
    Mari Selvan
    2,438 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

  • bhtlujtvuv
    bhtlujtvuv
    9,969 Points

    object-oriented javascript

    Posted June 28, 2015 2:02pm by bhtlujtvuv
    bhtlujtvuv
    9,969 Points
    • JavaScript
    • Object-Oriented JavaScript (2015)
    • Constructor Functions and Prototypes
    • Adding a Prototype

    1 Answer

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