Problem with red cursor

The red cursor at the end of this code for a drodown update makes me totally crazy because I don´t understand why it is there? I have tried with lots of characters like }}; and } and } ): but it refuse to disappear so what in the code is missing??

SYNTAX-ERROR.

The syntax of your code is not right.
Check for opening and closing brakets — > {} —> ()

It may be syntax-error but I just can´t make it work. Now I have tried with different brakets everywhere but there is still a red cursor. Can you please tell me exactly where to place the brakets and what kind of brakets? I have searched for information about brakets but have not found anything about that which is strange for such basical knowledge.

Wy for example sometimes } and other times } ); ?:neutral_face: