Code Your Own Adventure! 1 task


I don't understand where I am wrong
Please look at my code show me my mistake

var dream='parachute';
var study='parad';
if (dream.substring(0,4)!==study.substring(0,4);
{ confirm('I am ready to play!');}
{ prompt('Do you need to revise');}// Check if the user is ready to play!


if (dream.substring(0,4)!==study.substring(0,4);

Remove the semicolon and add at the end of this line a )


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.