Tell us what’s happening:
Your code so far
var myStr = "I am a \"double quoted\" string inside \"double quoted\".";
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
.
Challenge: Escaping Literal Quotes in Strings
Link to the challenge:
can you tell what have you tried ?
Rewrote the code 20 times and watched the video 15 times.
You can’t use double quoted inside string if you are surrounding it double quoteds.
Try ‘I am a “double quoted” string inside “double quotes”.’
hey cool down,this exercise is pretty easy as compared to what you have done till now, just free your mind for 5 mins and reread the question
Your code is actually right - but take a look at the sentence itself. The last word is incorrect. The text expected is pretty exact.
You just puted a “d” instead of a “s” in the last word :
var myStr = "I am a \"double quoted\" string inside \"double quotes\".";```
1 Like
Oh, yeah!That’s it!Thank u so much)))
You’re advice actually helped me!Thank u