Please help ,I am stuck here

Tell us what’s happening:
I am confused

Your code so far

// Change this line
var myStr = "FirstLine

Your browser information:

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

Challenge: Escape Sequences in Strings

Link to the challenge:

first, the string needs to be written all in one line

then, the instructions tell you also what you need to write:

“FirstLine newline tab backslash SecondLine newline ThirdLine”

the newline symbol is \n and the tab symbol is \t

my solution

“FirstLine \n \t  \SecondLine \n ThirdLine”

still not working

why have yo included so many spaces?

xD removed them but yeah failed to complete the last two objectives

hello? are you there?

this is not an instant chatroom, please be patient.

Have you escaped the backslash?

@ieahleen I am sorry I got frustrated.
Yes! I escaped the backslash, maybe I will do the previous exercises once again. Thank you

I need help solving this problem

I don’t see a form tag in the screenshot you are posting. It is really impossible to know anything else. Please create your own topic when you have specific questions about your own challenge code. Only respond to another thread when you want to provide help to the original poster of the other thread or have follow up questions concerning other replies given to the original poster.

The easiest way to create a topic for help with your own solution is to click the Ask for Help button located on each challenge. This will automatically import your code in a readable format and pull in the challenge url while still allowing you to ask any question about the challenge or your code.

Thank you.

Post your last code, let’s see

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

Please use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks are not single quotes.


1 Like

Please create your own topic to ask a question. When you do, please include your code as formatted text (rather than an image) and describe what you need help with.

1 Like

Hi! hopefully after removing the spaces and 1or2 minor edits
var myStr="FirstLine\n\t\\SecondLine\nThirdLine";
this worked