In block-based programming languages like Tynker, you generally have the ability to create conditional statements, variables, and in some cases, even a form of switch statements. However, a "syntax error" is not something you create intentionally; rather, it is an error that occurs when the code does not conform to the rules of the programming language.
Therefore, the correct answer is:
D. Syntax error