freecodecamp.cn icon indicating copy to clipboard operation
freecodecamp.cn copied to clipboard

I've delete all \ . but it still tells only delete \. what's going on?

Open alanwu123 opened this issue 9 years ago • 3 comments

Challenge Quoting Strings with Single Quotes has an issue. User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myStr = '<a href="http//:www.example.com" target="_blank">Link</a>';



alanwu123 avatar May 14 '17 06:05 alanwu123

you right.

YangPengFe1 avatar Jul 05 '17 07:07 YangPengFe1

@alanwu123

'<a href="http//:www.example.com" target="_blank">Link</a>'
                ↑

The colon here is misplaced. You are not supposed to modify anything other than the slashes and quotes.

S1ngS1ng avatar Jul 06 '17 05:07 S1ngS1ng

very nice

asqhay avatar Sep 08 '18 03:09 asqhay