Question 21 what have i done wrong?


#1


#2

Good Morning,

You only have one problem, which is an unfortunate mistake from how you wrote your code. I would recommend reading this post to better understand and troubleshoot any an all syntax mistakes which are almost always caused by us.

The solution is that var george = new person(); is lowercase, person should be capitalized. As you go to the other post and use the resource suggested you will see how it displays the same error.

Do keep in mind that javascript is case sensitive, and you won't ever get away with this again in the future.


#3

thanks a lot and well understood