1. "Confirm" shows incorrect if there's a space between first bracket and string


#1

confirm( "I am ready to play!"); or confirm( "I am ready to play!" );

rerturns true after pressing OK but incorrect:

Oops, try again. It looks like you didn't use confirm to make sure your user is ready. Check the Hint if you need help!

but confirm("I am ready to play!" ); (any number of spaces before the second bracket)

also returns true but this time is correct.


#2

confirm( "I am ready to play!"); or confirm( "I am ready to play!" );

rerturns true after pressing OK but incorrect:

Oops, try again. It looks like you didn't use confirm to make sure your user is ready. Check the Hint if you need help!
but confirm("I am ready to play!" ); (any number of spaces before the second bracket)

also returns true but this time is correct.

@ajaxrunner42679 I am not sure how picky JavaScript is about the spacing but usually I try not to leave any spaces and keep it nice and clean.