Help urgent


#1

No error I go through it's just if I answer yes on both Choice and Choice2 it will run "Don't think that" instead of "YES! think positive"

var Choice2 = prompt("do you feel confident");
var Choice = prompt("do you think you are smart","yes or no");
confirm("You are starting a test be ready (think logically)");

var user = prompt("Little Johnny's mother had 3 children. There name's were April,May,and blank A) Johnny, B) June, C) None of them"," Be logical").toUpperCase();
switch(user) {
case 'A':
console.log("1)Correct");
if (Choice === "YES"|| Choice2 === "YES"){

confirm("No sweat if you read carefully you will figure the next question out")

}else if ( Choice === "YES"&& Choice2 === "YES"){
    confirm("YES! think positive")
}
else
{
    confirm("Don't think that")


}
 break;

case 'B' :
console.log("1)Wrong");
break;
case 'C' :
console.log("1)Wrong");
break;
default :
confirm("Answer next time Wrong");
console.log("Answer next time Wrong");
}
confirm("That was A warm up")
var user2 = prompt('A 62 two year old woman walked with a 16 year old teen , all the sudden a man walked by and the both said " Hello father" how is this possible " A) The women are sisters and the man is there father B) Incest C) Man is a priest','BE LOGICAL').toUpperCase();

switch(user2) {

case  'A':
console.log("2)Wrong");
 break;

case 'B' :
console.log("2)Wrong");
break;
case 'C' :
console.log("2)Correct");

 break;

default :
console.log("Answer next time Wrong");
}
Thanks in advance


#2

this is a duplicate topic of code your own adventure problems, please continue the discussion there.

@anthonyb19631963, it is a forum, sometimes it takes a while before you get an answer.


#3