Conclusion: Part 2 28/28


#1

// Not sure where to begin? Check the Hint!
if (23 % 2 === 1) {
console.log("True.");
}
else
{
console.log("False.");
}
console.log("I finished my first course!");

What am i doing wrong? It says ""Oops, try again. It looks like you didn't log the correct string to the console! Make sure to use exactly the string shown.""


#2

I think that your console.log("I finished my first course!"); must replace your console.log("True");.


#3

Take a cue from the below code snippet.


// Not sure where to begin? Check the Hint!
var status = prompt("Have you learned this course well? YES or NO?");
if (status === "YES") {
    console.log("I finished my first course!");
} else {
    console.log("Go back and learn it well. Till then you are stuck here.")
}