Problem with .name notation

Its all wrapped within the class and outside the class is me calling them out into action under the var name game.

No.

Your function getAge() on line 117 has been setup inside the function check()…

Not sure if you have followed @roosterboy suggestion

I see. Yeah I followed his suggestion but I’m looking it over again.

Hahaha how embarrassing. All that whining and it just needed to be outside the check() func like you stated. Thanks!

No problem! We are all here to learn!
But again, it is really easier for someone to help when he can copy your code to investigate on his own machine, rather than “assuming” that there is no extra brackets in the missing lines of a screenshot.
Unless you are writing a code with sensible information…

1 Like