Based on the build log, the error seems to be on line 28 where you may have added an extra bracket unknowingly, or maybe it is part of some other code that you may have added. Your screenshot shows code only up to line 17.
Right click the code editor and click on Format and then make sure there are no red lines in your code for it to work perfectly.