This forum is now read-only. Please use our new forums! Go to forums

Why does the code not work???????? 2/9 User Choice

This is the code: var userChoice = prompt(“Do you choose rock, paper or scissors?”); I tried submitting the code five times but it will not pass. What is wrong? If it’s wrong, where and how? If it’s right, why does it not submit passed?

Regards, Johnson Tran [email protected]

Answer 54bfc995937676522500168a

0 votes

Permalink

Oh =)) I have the same problem. You need to delete code, and do this again

points
about 9 years

1 comments

anonymous about 9 years

Thanks!

Answer 54ade48bd3292f8754005cd3

-1 votes

Permalink

you forgot the comma after paper

points
Submitted by aquafina
about 9 years

2 comments

anonymous about 9 years

I tried your advice and it still doesn’t work.

aquafina about 9 years

sorry i thought that might be it

Answer 54ae7239d3292f3cd60070c7

-3 votes

Permalink

you didn’t write “Do you you want to choose” you have to word it the same as they want you to otherwise it will not pass

points
Submitted by willowiam
about 9 years

3 comments

anonymous about 9 years

You mean, “Do you choose rock, paper, or scissors?”

anonymous about 9 years

And I tried your advice, too, and again it’s wrong!

schamanu about 9 years

try to refresh your browser, sometimes the website glitches