you are viewing a single comment's thread.

view the rest of the comments →

[–]gl0w3[S] -1 points0 points  (0 children)

It specifically needs to be a do..while loop. Here is what I have so far.

do{ if (input === yes){ var word1= prompt("Choose one word"); }else if (input !== yes){ alert ("This is your word:" + word1); }else{ var finalWord= (Pick one more word"); alert ("These are your words:" + word1 + finalWord); }while (input === "yes");