+ 2

Help control flow

Control flow Finish the challenge by passing the true clause.) What does this mean?

5th Aug 2018, 9:06 PM
Ashlyn
Ashlyn - avatar
2 Réponses
0
Can you be more specific? I assume the challenge/quiz asks you to choose the statement that returns true.
8th Aug 2018, 11:31 AM
Hoàng Nguyễn Văn
Hoàng Nguyễn Văn - avatar
0
Hi my challenge asks me to: prompt the user for a number that is greater than 100 but less than 2000 and store this as a variable named user. write a statement that checks to see if user is greater than 100 and less than 2000 if it is then it should assign message1 to a variable named result. if it is not the it should asssign message2 instead. also: user should be a number, try using the parseInt() function. make sure you have an if statement your if statement should have an else attached to it.’) finish the challenge by passing the true clause.) i need to edit: var message1= ‘you are amazingly correct!’; var message2=‘awww, it looks like that number is not correct. try again!’; please help im stuck on this i was able to figure out everything except the passing of a true clause!
13th Aug 2018, 12:21 PM
Ashlyn
Ashlyn - avatar