The instructions say: “Write a program that rolls two dice until the user gets snake eyes. You should use a loop and a half to do this. Each round you should roll two dice (Hint: use Randomizer!), and print out their values. If the values on both dice are 1, then it is called snake eyes, and you should break out of the loop.
https://www.reddit.com/r/learnjavascript/comments/9k8v4r/codehs_snake_eyes_need_help/