Tell us what’s happening:
Describe your issue in detail here.
i checked my spelling and everything i dont know what what i am missing
Your code so far
const myStr = "I am \"double quoted\" string inside \"double quotes\"."; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Escaping Literal Quotes in Strings
Link to the challenge:
Do a console.log(myStr)
to see what your string looks like and compare it to what is expected
I am “double quoted” string inside “double quotes”.
myStr = “I am “double quoted” string inside “double quotes”.”
after typing console.log(myStr) this was the output
And what is the expected output?
// running tests Variable
myStr
should contain the string:
I am a "double quoted" string inside "double quotes".
// tests completed
that’s what is posting above the code as expected output why i am baffled as to what the problem is?
const myStr = “I am "double quoted" string inside "double quotes".”; // Change this line
console.log(myStr)
// running tests
Variable myStr should contain the string: I am a “double quoted” string inside “double quotes”.
// tests completed
// console output
I am “double quoted” string inside “double quotes”.
myStr = “I am “double quoted” string inside “double quotes”.”
that is the full output screen
finally found it missing the letter a smh
sorry about that