confirm("I am ready");
The code is Ok.
If that is what you wanted to know...?!
You could possibly make it print out whether or not you are ready be making confirm("I am ready"); equal to a variable. But that's of more use in later lessons. For now, as long as the lesson says you've passed you can simply move on to the next lesson.