Hi,
Welcome to our community!
You understood the error messages right. They do refer to a problem in your script. They are compiler errors that need to be fixed first. Otherwise, Unity cannot create a component. If you fix the errors, you will very likely be able to add the component.
Whenever you see something like ‘; expected’, there is very likely a semicolon missing, or maybe there is a misplaced character somewhere. Those are very typical problems, even for experienced programmers. For this reason, I would recommend to find and fix the problem yourself.
A little tip: Since there are multiple error messages stating that a character is missing, start with the first one by double clicking on it. Then check the line carefully. If you cannot spot any issue in that line, go to the line before, and so on. The compiler is not intelligent, so the messages could sometimes be misleading. The reason for that is: If a character is missing or misplaced, the compiler could misinterpret the code you actually wanted to type.
If you cannot spot any issue, remember you can also look at the lecture code changes via the link in the Resources of each lecture.
Let me know if you found and fixed the problem!
See also: