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

0 points
Submitted by Digitalalchemist
over 8 years

28/28 - Help

prompt (“do you think you are done for now”); if (prompt=”yes”){ { console.log(“i finished my javascript course”); } else { console.log(“i self sabotage”); }

Answer 55e523679376760ef20003bd

1 vote

Permalink

prompt ("do you think you are done for now");

should be

var userAnswer = prompt ("Do you think you are done for now?");

And

if (prompt="yes")

should be

if (userAnswer === "yes")

And lastly

The only instruction is that the result of evaluating the statement is a log to the console of “I finished my first course!“.

points
over 8 years

Answer 55e5e85e3e0ec8427100023e

1 vote

Permalink

really close, cant see to pass through

var useranswer = ("Do you think you are done for now?");

{ if (prompt=”yes”) } if (useranswer === “yes”); } console.log(“I finished my first course!”); {

points
Submitted by Digitalalchemist
over 8 years

1 comments

You need to read my previous comment again!