Can Someone Point Me In The Right Direction

Tell us what’s happening:
Can someone tell me what is wrong with this code please?

Here is the text with the escape sequences written out.

“FirstLine newline``tab``backslash SecondLine newline ThirdLine”

Your code so far



var myStr = "FirstLine/n/t//SecondLine/nThirdLine";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Escape Sequences in Strings

Link to the challenge:

Well, it’s quite ironic that you worded your question this way :smiley:
The answer is exactly this, it needs to be pointed in the right direction.

(the backslashes that is)

giggles ty. You are right. lol

1 Like