Hi,
Welcome to our community!
Maybe there is a semicolon behind the if-condition. Or the code which is supposed to be inside the code block of the if-statement is not wrapped by curly brackets. Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture?
See also:
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.