DANI3L
February 23, 2022, 6:13pm
1
Tell us what’s happening:
Describe your issue in detail here.
Your code so far
const myStr ="FirstLine
\t\\\SecondLine
\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/98.0.4758.82 Safari/537.36
Challenge: Escape Sequences in Strings
Link to the challenge:
Hello there.
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
You can’t use line breaks here. You need to use the newline character.
DANI3L
February 23, 2022, 6:43pm
3
const myStr ="FirstLine\n\t\\\SecondLine\n\ThirdLine\n\."; // Change this line
eso hice hace rato y no se logra
1 Like
DANI3L:
ThirdLine\n.
The extra stuff at the end is not in the instructions.
DANI3L
February 23, 2022, 7:12pm
5
const myStr = “FirstLine\n\t\\SecondLine\n\ThirdLine\n.”
nada intento ye intento variables me da que no estan en las instrucciones solo la consigna de que tiene que estar con en las instrucciones me da el fallo
FirstLine
\SecondLine
ThirdLine
There is no period in the instructions. There is no extra new line in the instructions.
DANI3L
February 23, 2022, 7:25pm
7
Primera linea
\Segunda linea
Tercera Línea
asi lanza la respuesta qcomo bajo la segunda linea
Is this code you are trying? I already said you can’t have line breaks in the code. You must use the newline character.
DANI3L
February 23, 2022, 7:31pm
10
const myStr = "FirstLine\n\t\\\SecondLine\n\ThirdLine\n
nada intento ye intento variables me da que no estan en las instrucciones
There is still no extra newline at the end of the string in the instructions…
Sending a picture does not help.
You have an extra newline character at the end of your string.
You have an extra newline character at the end of your string.
You have an extra newline character at the end of your string.
Remove this extra newline character and you should pass.
DANI3L
February 23, 2022, 7:47pm
14
eso hice la primera vez pero ahora recien me funciono
2 Likes
system
Closed
August 25, 2022, 7:47am
15
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.