Java Java Basics Perfecting the Prototype Looping until the value passes

Jasmine Davis
PLUS
Jasmine Davis
Courses Plus Student 414 Points

Hello, I am confused on what to do next can you help me?

I don’t know what I am supposed to do to make the code loop

Example.java
// I have initialized a java.io.Console for you. It is in a variable named console.
String response = console.readLine("Do you understand do while loops?");
boolean isInvalidWord;
do {
  response = console.readLine("Do you understand do while loops?");
  isInvalidWord = (response.equalsIgnoreCase("yes"));
} while (isInvalidWord);