Tell us what’s happening:
ive been stuck on this for 2 days no matter what i do nothing is working
Your code so far
var myStr; // 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/84.0.4147.89 Safari/537.36
.
Challenge: Escape Sequences 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.
It really is frustrating to get stuck!
What have you tried so far? What’s your understanding of what the question is asking you?
i looked at other peoples post tried what they did i undersand there should be no spaces and the diffrent types of backslashs but i try to do it as it says and says its wrong
var myStr = FirstLine\n\t\\SecondLine\nThirdLine
Your answer should look like this. What did you try?
i tryed that and other ways to
i figired it out thanks it was a mistype
1 Like
Yes, it’s very easy to misread odd text like escape characters!
thank u so much tho i tend to do that
1 Like