Well first off, as humbling as taking a hint can be to someone with a pride like mine xD the hint for this is very good. I would suggest looking at the hints before asking. However, lets take a look at this!
This is unnecessary for solving this lesson here. However, hang on to it, you will need in the future many times!
The main idea that you are missing here which was stated in the hint and I quote "if we create a variable called count and set it to 0 outside the loop (on line 2), then do count++ each time we console.log() inside the loop, we'll be able to track how many loops we've made. If we set the while condition to be count < 3, that should do the trick!"
I can give you a basic outline if needed but those two things should help you solve this