TRYING TO ESCAPE STRINGS with backslash

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

the above is the written code in my exercise but it seems FCC engine isn’t recognising it. i need to know what i am doing wrong.

Welcome, campsolpy.

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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

Also, for future questions about specific lessons/challenges in the fCC curriculum, please use the Ask for Help button on the lesson’s page, as this will generate a prepopulated post with the necessary information to help you.

With what you have given us, we do not know:

  1. Which challenge you are referring to
  2. What code you have tried
  3. What errors you are getting
  4. What browser you are using

The more information you give us, the better we can help you.

okay thanks alot. :+1:

you have extra spaces. Spaces are characters. If there are spaces that are not expected, it will not recognise the string as correct.