# Deja Brew (code doesn't work)

**URL:** <https://discourse.codecombat.com/t/deja-brew-code-doesnt-work/14750>\
**Category:** Uncategorized\
**Created:** [May 17, 2018, 9:00am UTC](https://discourse.codecombat.com/t/deja-brew-code-doesnt-work/14750 "2018-05-17T09:00:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bennypr0fane](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bennypr0fane/32/8337_2.png) [@bennypr0fane](https://discourse.codecombat.com/u/bennypr0fane)\
**Post date:** [May 17, 2018, 9:49pm UTC](https://discourse.codecombat.com/t/deja-brew-code-doesnt-work/14750/6 "2018-05-17T21:49:22Z")

</div>

See also here:

> [@Deja Brew - sing all lines but still failing](https://discourse.codecombat.com/t/deja-brew-sing-all-lines-but-still-failing/9824):
>
> I’ve said all the same lines as the conductor. on the fifth potion it stops and says failing even though he says the exact same thing as the conductor again. My Code: var potionsOnTheWall = 10; var numToTakeDown = 1; while(true) { hero.say(potionsOnTheWall + " potions of health on the wall!"); // Sing the next line: hero.say(potionsOnTheWall + " potions of health!"); // Sing the next line: hero.say(“take 1 down and pass it around”); potionsOnTheWall -= numToTakeDown; // Sing the last …

---

_[View the full topic](https://discourse.codecombat.com/t/deja-brew-code-doesnt-work/14750)._
