"alert" workaround not accepted for all Chrome console messages appearing at the end


As discussed in this thread, Google Chrome on Windows (and possibly other browsers) doesn't display individual console messages in the expected dialogue-like manner, saving them all until the end:

The current solution - displaying them via alert rather than console.log - seems fine, but isn't accepted earlier on in the project, giving this error:
"Oops, try again. Make sure your string is correct and is between quotation marks!"

Unless this browser issue is easy to fix, it'd be simpler if alert was given/ accepted as an option from the start? Thanks!

// Check if the user is ready to play!

//confirm ("Are you ready to play??");
var age=prompt ("How old are you?");
if (age < 13)
{confirm ("hmm but ok");}
{confirm ("let's go!!!");}

alert ("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");


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