Welcome to the forums. Don’t forget to use code tags to make your code more readable. In the future when you encounter an error, it’s also helpful to us to share what that actual error message is to keep us from having to guess. This time, it’s clear enough.
Your if statements need to have parens wrapping the conditional portion. Everything else looks good, so you’re not doing too badly yet! Keep practicing and you’ll get it!