Escape Sequences in Strings helps please cant find any error [SOLVED]

Escape Sequences in Strings helps please cant find any error [SOLVED]
0

#1

Instructions
Assign the following three lines of text into the single variable myStr using escape sequences.

FirstLine
\SecondLine
ThirdLine
You will need to use escape sequences to insert special characters correctly. You will also need to follow the spacing as it looks above, with no spaces between escape sequences or words.

Here is the text with the escape sequences written out.

FirstLinenewlinebackslashSecondLinebackslashcarriage-returnThirdLine

My code:

var myStr = "Firstline\n\\SecondLine\\\rThirdLine";

my error message is :
myStr should have encoded text with the proper escape sequences and no spacing.


#2

I think you have a Typo?


#3

The L in “FirstLine” needs to be capitalized.


#4

thanks! it was the “FirstLine” I forgot to make it to L.


#5

Yea. thanks so much !!