Skip to content

This lesson needs to be looked over, had to look up troubleshooting. #7664

Closed
Og-Morrow opened this Issue · 7 comments

4 participants

@Og-Morrow

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

My code:

var myStr;
myStr = "\\ \t \t \r \n";// Change this line


@kalunlee136

@Og-Morrow what exactly are you having trouble with?

@cannelflow

what is the issue i went to your link working for me

@Og-Morrow
@cannelflow

exercise says Encode the following sequence, separated by spaces:
backslash tab tab carriage-return new-line and assign it to myStr and that is what you did there

var myStr;
myStr = "\\ \t \t \r \n";// Change this line


or you can just write like
var myStr = "\\ \t \t \r \n";// Change this line

@Og-Morrow

Right, I tried it this way "var myStr = "\ \t \t \r \n";// Change this line" and just could not figure out why it wasnt working, heres the page i found the answer. I just wanted to help others before they have to go throught the same thing.
#5673

@cannelflow

do like

var myStr = "\\ \t \t \r \n";// Change this line

not like

var myStr = "\ \t \t \r \n"

can you please come at https://gitter.im/FreeCodeCamp/Help

@ltegman
Free Code Camp member

Closing as resolved. Thanks and happy coding!

@ltegman ltegman closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.