Help it keeps saying that is is wrong

Tell us what’s happening:
it keeps saying the line should be in myStr

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

Small typo here

1 Like

i fixed it say mystr should contian the string

This might be another typo too

1 Like

wait how is it a typo ?

Woops, nope. There is only the first typo. When I fix that, the challenge passes for me.

oh can you tell me what is the first typo i mean how to fix it cause i think the spelling is good ??

or is it not the grammer

I thought you said you fixed it…

You are missing a space.

oh yeah i did i fixed still didnt work

thx for the help anyway

Huh. I fix that one typo by adding a space and everything passes

dont know
every once in a while something like this happens all my code is correct but it keeps saying its wrong ill just wait a while and do it again like last time

What is your current code?

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

You put the space in the wrong spot.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

ok thank you ill try it

waitt omg it worked


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