I'm going through the PHP learning exercises, and finding it quite frustrating.
For almost every exercise, I am asked to complete some action. However, the software doesn't wait till the exercise is submitted before criticizing it - it is evaluating it continuously, so before it is completed, I am told "there is a parse error", or "a syntax error", because I haven't finished the action yet. As a simple example, it says there should be a semi-colon on the end of a statement - because I haven't finished writing it. I put the semi-colon on, but the software has already decided the semi-colon is missing, and can't change its mind. I complete the exercise by writing the next couple of lines, but the software is still hassling over the missing semi-colon, so in order to progress beyond that point, I have to highlight and copy my completed code, hit the "codecademy at the top, on the new screen., press "Continue", which takes me back to my exercise screen, which shows everything down to where there should have been a semi-colon, and nothing after it - the other couple of lines aren't there. I highlight the block of code from <?PHP down to ?> and replace it by pasting my copied code, then finally, it recognises that it's OK and lets me progress.
The course is good - if somewhat pedantic - and I'm grateful for having it, but progression could certainly be a lot less tedious than it is.
When I say it is pedantic, that's because when it asks for "This is my first attempt!", it won't accept "This is my first attempt." It's supposed to be teaching programming, not the ability to exactly copy the minutiae. Another thing that has stumped me a couple of times is the use of curly braces. As an experienced C programmer, I know that they are not required where there is a single statement between them, and in that case, I leave them out without thinking. The continuous evaluation shows that the output of the exercise is what is required - they aren't required in PHP either - but when I press Submit, it is not accepted, and I'm back into copy/reset/paste.
Replace this line with your code.