Help Escape Sequences in Strings?

When I’m running my code on “Escape Sequences in Strings” I don’t seem to be getting any of it right even though I feel like I’m following the instructions (but I’m obviously not). If someone could take a look at my code to see where I’m going wrong that’d be awesome

So far I’ve tried:
var myStr; FirstLine\n\t\SecondLine/nThirdLine
var myStr; FirstLine\n\t\\SecondLine/nThirdLine
var myStr; FirstLine\n \t \SecondLine/nThirdLine

var myStr; FirstLine\n\t\\SecondLine/nThirdLine

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36.

Link to the challenge:

first, to assign a string to a variable you need to use the assignment operator = and a string is written inside quotes (single or double), so you would get var myStr = 'random String';

an other thing to notice is that you use first \n and then /n but only one of the two is right

try fix this, and then ask again if you need more help

Thank you!

My problem was the =

All sorted now, thanks again :slight_smile: