Tell us what’s happening:
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 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile 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.
Your spacing is a bit off. Check your results in the console and see where it differs from what the challenge wants.
Why this message can I know why the message
@ychris. Sorry the message I wrote was wrong. That’s why I deleted it.
I checked but seriously I can’t find the exact place to fix that.is it the space between quote or word space???
The challenge wants this:
Variable myStr should contain the string: I am a "double quoted" string inside "double quotes".
When I copy your code from above into the challenge, I get this:
myStr = "I am a"double quoted"string inside"double quotes"."
Can you see how the two differ?
Yes I have some time common errors are hard to fixed please how can I fix that simple example is good enough
it should be
a "double, your code is
a"double, so add a space to make them the same
same thing for the rest of the string
Please the error persist this is it “I am a //space “double quoted//no space “string inside //space “double qoutes” .” That is those that holds quotes (””) are not space at the end unlike ones without quotes still can’t pass it more help
what’s your current code?
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.
this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
Thanks I have passed the test