Basic JavaScript - Escape Sequences in Strings

Tell us what’s happening:
Describe your issue in detail here.
Hello,
I’m stuck. I need help.
Your code so far

const myStr = "FirstLine\n\t;\\SecondLine\n;ThirdLine"; //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/107.0.0.0 Safari/537.36 Edg/107.0.1418.35

Challenge: Basic JavaScript - Escape Sequences in Strings

Link to the challenge:

What is the purpose of all those semicolons?

Tell us what’s happening:
Describe your issue in detail here.
Hello,
I need help to make my code correct :
const myStr=“FirstLine\n\t;\SecondLine\n;ThirdLine”
Thank you

Your code so far

const myStr="FirstLine\n\t;\\SecondLine\n;ThirdLine" //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/107.0.0.0 Safari/537.36 Edg/107.0.1418.35

Challenge: Basic JavaScript - Escape Sequences in Strings

Link to the challenge:

ok, I got it.
Thank you

Please don’t creat duplicate topics for the same challenge. I have merged the duplicates.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.