Tell us what’s happening:
I don’t understand what to do here.
Your code so far
var myStr; " Firstline\n \\ \t Secondline \n Thirdline" // 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/75.0.3770.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings
first of all in the instructions it says no spaces…
Ok, I tried no spaces, and I’m still missing something.
can you post your code? it would help if i could see what it is that you have written
is your code all in one line and inside of quotes?
“FirstLine\n\t\SecondLine\n\ThirdString”
i dont see your backslash …?
the fifth checkmark is about the backslash charecter,
OK, so I tried “FirstLine\n\t\\SecondLine\nThirdString”
Ok, I got it to work. I restarted the page. I did, “FirstLine\n\t\\SecondLine\nThirdLine”
Thank you so much for your time.