Tell us what’s happening:
can someone tell me what is wrong with this code
Your code so far
var myStr = "I am a \"double quoted\" string inside\"double quotes\"";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
.
Challenge: Escaping Literal Quotes in Strings
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
I think you forgot the period at the end.
var myStr = "I am a \"double quoted\" string inside \"double quotes\"."; // Change this line
^That code just passed for me. Check for differences.
Hi,
Tried it in my console and it works. I think your code is right but the tests have been constructed in such a way that your code doesn’t pass. So, the code is right, the test is problematic. In my humble opinion.
Greets,
Karin
Sky020
June 21, 2020, 8:22pm
5
Hello there,
You need to watch for small typos:
inside\"double
Have a look at what is shown in the console, for more of a hint.
Hope this helps