Tell us what’s happening:
Describe your issue here.
What’s wrong with my code. I followed all the instructions as given but I still didn’t get it write. Somebody help please.
Your code so far
const myStr = "FirstLine\n\tSecondLine\nThirdLine"; // 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/113.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Escape Sequences in Strings
“FirstLine\n\t\SecondLine\nThirdLine”; // Change this line
even after adding the backslash it didn’t work. See if you can find where I’m going wrong kindly.
Unfortunately I can’t do that cause you won’t learn,I know it’s frustrating but with the frustrations comes great leaning. Which challenge are you facing.Let me see your updated code.
You add a backslash by using these characters \\
In case you can’t locate the character,it is just beside your enter keyboard button.
OK,your code has some quotes,I don’t know if I should call them so,those quotes do not resemble the normal double quotes I know,I had to change them while correcting your code.Furthermore,after your tab add a backslash,use the characters that I have shown you in the reply above.