Beginner
You are trying to create a while loop that will increase the petCount to 5. Why is this solution not working?
1let petCount = 0;23// Lisa wrote this:4while (petCount < 5) {5 console.log("I saw another pet!");6}
1let petCount = 0;23// Lisa wrote this:4while (petCount < 5) {5 console.log("I saw another pet!");6}