Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

What error are you getting?
3 years ago
Please check now. If you need help with the solution, let us know.
3 years ago
Please check once, the compiler service is working fine and JS compiler is returning responses.
3 years ago
Please check now, it's fixed.
3 years ago
Apologies for the Error with Compiler, it is working now, please proceed with the course.
3 years ago
Apologies for the Error with Compiler, it is working now, please proceed with the course.
3 years ago
Apologies for the Error with Compiler, it is working now, please proceed with the course.
3 years ago
Please check now, it should be working.
3 years ago
The answer mentioned above is correct, just explaining it, because a lot of users get stuck on this lesson:

The expected outcome for this exercise is: *I love 'Chocolate'\'Butterscotch' ice cream.*

In between the words Chocolate and Butterscotch, we have an ending single quote, then a backslash, and then an opening single quote. All these three needs to be escaped.

Hence it becomes \' to escape the opening single quote, then \\ to escape backslash and at last \' to escape the opening single quote. Hence it becomes \'\\\' between the words Chocolate and Butterscotch.

*** let x = 'I love \'Chocolate\'\\\'Butterscotch\' ice cream.';

// log the variable
console.log(x);
***

Hope it helps.
3 years ago
Hey, please try again once, there was some issue with compiler but it's fixed now.
3 years ago
Hey, the code that you are trying, is correct, may be some issue with the application showed you 'Try again!' message.

The application is working fine now, please try now.
3 years ago
Please share the Level and Lesson number.
3 years ago