I need to resolve this

what is wrong with my code

Your code so far


var myStr = "I am a \"double quoted\"string inside \"double quotes\"."
console.log(myStr)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.67

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

I think it is a spacing issue, the escaping looks correct.

i justs it spaced.still not passing the challenge

i just spaced it,still not passing the challenge

What error are you getting? I just tried it fixing the spacing and it passed.

What is your new code?

I noticed the words “double” in your code are in bold, not sure if that is also an issue, browser?

ive crosschecked my codes im not finding anything missing

It’s hard to help more without seeing your new code.

i jjust posted my new codes now

Where did you post your new code?
It doesn’t look like you modified the original post

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\"."
console.log(myStr)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.67

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

FYI, it is frowned upon to open multiple threads for the same issue.

You need to add a space between \"s.

1 Like

Did you see this result in your console?

Do you see the spacing issues everyone is talking about?

For example, quoted"string looks like all one word.

thank you,it was the spacing,i figured it out.

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