Talk about a quick opportunity for improvement! Instead of displaying:
"Oops, try again."
Code Academy could type your statement:
"A large part of learning to program is testing and debugging. Please see if you can figure out what went wrong and try again."
It's all about setting expectations.
CodeAcademy is trying to teach people to code, and I think a big part of that, is learning to navigate small problems, debug, and follow instructions. If they just gave instructions that said "type the following", that would take away these problems - but what would that achieve? That would be like a professor not giving repeat questions on an exam, and a student complaining he wasn't clear enough.