[SOLVED] Deja brew singing along

So here’s my leve’s code for singing along in the level deja brew. Everything looks correct to me and the level’s still showing “unsuccessful.” I even check the hints. And what I have looks almost identicalPreformatted text to what the hints have.

// You can add strings together, and add numbers into strings.
// Sing along, using string concatenation:
// X potions of health on the wall!
// X potions of health!
// Take Y down, pass it around!
// X-Y potions of health on the wall.

var potionsOnTheWall = 10;
var numToTakeDown = 1;
while(true) {
    hero.say(potionsOnTheWall + " potions of health on the wall!");
    // Sing the next line:
    hero.say("Take" + numToTakeDown +  "down, pass it around!");
    // Sing the next line:
    hero.say(potionsOnTheWall + " potions of health!");
    potionsOnTheWall -= numToTakeDown;
    // Sing the last line:
    hero.say(potionsOnTheWall + "potions of health on the wall.");
}
1 Like

Put that before this

And it should work fine.
Let me know if you need any more assistance at this level, ok?

1 Like

I just figured that out actually haha. Thank you.

1 Like

No problem! And congratulatifor completing the level! :partying_face:

1 Like