Expected '}' in class?

Hi, how do I solve this?
What is the problem?

Add a "}"

7 Likes

This is probably telling you that you're missing a } somewhere. Probably have too many in a method definition or something.

1 Like

Hi Karl. :) Ok, thanks Karl. Nice crown, nice duck :)

1 Like

Something like thus


class Person {
let name: String
// other codes ....
} // this line might be missing

Thanks, is it ok to use ()?

Hi Karl:) Really cool Crown :) How do I create my own symbol? I would like to have a Cat. Noob-question :)

What the :duck: is this thread?! :crying_cat_face:

Sorry. I am new to programming. Keen to learn. Thanks, anyway.