What is wrong with my Code?
"
var myStr “FirstLine\n\t\SecondLine\nThirdLine”; // Change this line
"
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings/
1 Like
write mystr=…and you continue your code as well
you havn’t wrot "="sign
1 Like
var myStr= “FirstLine\n\t\SecondLine\nThirdLine”; // Change this line
Still not Working 
var myStr= “FirstLine\n\t\SecondLine\nThirdLine”; // Change this line
Why? Whats wrong with it? 
befor the backslash in the second you have to add another backslash
myStr= “FirstLine\n\t\SecondLine\nThirdLine”;
this will resolve it i think 
1 Like
Actually its double backslash only. its not showing over here.

for me it is working whene i’am writing it like these 
ffs. What the hell am i suppose to do then? -,-
I tried it on other browsers also, still the same. 
Dudeeeeeeeeeeeee!
I’ve been at this code for the past 2 hours, checked every forum, github etc etc.
And you are telling my that my computer, net sucks?
Throwing this shit out of my window. 
that arrive to me too i have 3 test that i havn’t passed because of thisprobleme
1 Like
And what did you do to make 'em run?
sometimes it is my computer like you have sad but sometimes it is fcc
1 Like
Will try restarting my net and pc lol
1 Like
Heck No! -,-
Where should i complain about this?
i dont know but i think that you have to send a message to quincy larson the owner of fcc
1 Like
Because "
is not “
, they are different characters.
As you copied and pasted some text maybe, you got the open-close double-quote char instead of ASCII double-quote.
Fix is easy, remove those “ in your code(both at start and at the end) and type it by your keyboard (shift + '
) and try again.
Check the screenshot @Juba-codeur shared, the string starts with ASCII double quote "
, but not yours.
following is wrong (please check the open and close double-quote
var myStr= “FirstLine\n\t\SecondLine\nThirdLine”; // Change this line
it should be
var myStr= "FirstLine\n\t\SecondLine\nThirdLine"; // Change this line
2 Likes