Tell us what’s happening:
I know what I need to do, they showed it on the example. My only question is what the difference is between newline and carriage return. They both seem the same to me, and it really confuses me why both are used in succession.
Your code so far
var myStr = "FirstLine\n \SecondLine\ ThirdLine"; // Change this line
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/escape-sequences-in-strings