question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Escape Sequences in Strings - Free Code Camp (FCC)

See original GitHub issue

Challenge Escape Sequences in Strings has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

Question : [ error ]

My code: var myStr=“FirstLine\n \SecondLine\ \rThirdline”;


Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
BKinahancommented, Jul 17, 2016

Note that the instructions indicate there should not be any spaces in your string, and pay attention to capitalization.

Please seek coding assistance in the Help chat. Issues are for problems with the challenges or website.

Happy coding!

1reaction
alayekcommented, Jul 18, 2016

@malixi you need to escape the backslash as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

freeCodeCamp Challenge Guide: Escape Sequences in Strings
freeCodeCamp Challenge Guide: Escape Sequences in Strings - Guide - The freeCodeCamp Forum.
Read more >
what is wrong with my code in this "Escape Sequences in ...
Solution: we use newline(\n) after FirstLine, use tab(\t) and backslash(\) before SecondLine and newline(\n) after SecondLine. Share.
Read more >
Escape Sequences in Strings - CodeChallenge - GitHub
All my thinking about some code challenge and Free Code Camps - CodeChallenge/Escape Sequences in Strings.md at master · EQuimper/CodeChallenge.
Read more >
freeCodeCamp Archives - forNoobs
Category: freeCodeCamp · Record Collection – FCC Coding Challenge · WordBlanks and Functions · Basic JavaScript: Escape Sequences in Strings · Time Element...
Read more >
Free Code Camp Assignments – SS1 + SS2 – Web Development
Free Code Camp is an interactive learning platform that we will utilize in this ... Escape Sequences in Strings; Concatenating Strings with Plus...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found