This normally happens when you are missing a closing brace “}”
If you follow the vertical lines on the left hand side of your code, you will see that there is an opening brace “{” on line 7 that does not have a matching closing brace “}” at the end of your code.
by the way, it’s a lot easier for us if you copy your code and use the Code Sample button (1s and 0s) to insert the code into the question. We can then copy it into our own editors to check it out.
line 69 delete “}”