I need help with brackets

You need to move the “else” one line up so that it’s directily under or next to the closed bracket.