Dear codeacademy community,
as you can see I am a newbie but willing to learn.
When do I use...?
- )? (This bracket is necessary for e.g. function () )
-}? (I thought the curly bracket is optional and just makes it easier to read the JS code but not necessary)
-};? (This one is only used to highlight that this is a code of block which will be executed and the semilicon marks the seperation or end of command)
-)};? (This one is to mark the ending of a command and block of code ending right after the semicolon)
-});? (Does this combination make any sense? And if so, when do I use it?)
This is my code and I think the mistake I made here is hopefully only the confusion with the brackets...If somebody could have a look at it, it would be great!
Thanks in advance!