Ive run this test 50 times and uts not working

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


var myStr = "I am a \"double quoted \" string inside \"double quotes\"."; // Change this line
console.log(myStr);

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 12739.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.137 Safari/537.36

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


I am a "double quoted " string inside "double quotes".

Your output from your console.log() looks wrong. Can you see where you have added a typo?

console.log(myStr); is not correct ?

Can you see what is being logged to the console?

image

Your string has a typo. The output in the console shows an extra space.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.