CodeCademy jb2

Script Only; No Declaring DOCTYPE Version or <style>

My Code:

[[html]]
    <script>

// Check if the user is ready to play!
confirm("are you ready to play?");
var age = prompt("What's your age?");
if (age < 13) {
    document.write("You can play but I take no responsibility for injuries." + "<br><br>");
    } else {
        document.write("Atta boy, or girl. Carry on!"); }

document.write("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");
document.write("Suddenly, Bieber stops and says, 'Who wants to race me?'" + "<br><br>");
var userAnswer = prompt("Do you want to race Bieber on stage?");
if (userAnswer === "yes") {
    document.write("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
    } else {
        document.write("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'" + "<br><br>"); }

var feedback = prompt("Rate this game on a scale of 1 to 10");
if (feedback > 8) {
    document.write("Thank you! We should race at the next concert!");
} else {
    document.write("I'll keep practicing coding and racing."); }

    </script>
    [[/html]]