I keep getting Error messages


I can't finish lesson 3 of the For Loops in PHP section, "Writing your first 'for' loop". Everytime i try, I get an error message saying "Something went wrong :frowning: Click Close to try again or refresh the page"


Copy this code, and open the exercise page, then paste it in:

<?php else ?>

just above,

// where you'll be writing code

That will disable auto-refresh because it causes a Parse Error. When ready to test or submit your code, Cut that line and use it in the next exercise, the same way.