"If yellow triangle warnings appear in the editor next to any code we provide in any exercise, it is fine to ignore them."
Don't worry about it. They use a parser that scanned your code bit by bit and alerted you every time an error was found. They've since removed it, but haven't changed the lessons to reflect it. You can probably still see it over at the labs.