This forum is now read-only. Please use our new forums! Go to forums
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
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!“.
Answer 55e5e85e3e0ec8427100023e
1 vote
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!”); {
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
You need to read my previous comment again!