Quoting Strings with Single Quotes still not working

Tell us what’s happening:
Hi Everyone,

I apologize if this has already been answered but from my research on the forum I have not find anything satisfying.

I Cannot pass this challenge, I believe I have the correct code as explained in the forum and on outside sources. I still cannot pass the challenge and I am wondering why. Maybe a silly mistake? Can you help me?

Your code so far

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:

Just get rid of the original line of code. The test is picking up the backslashes from the line above your new line.

1 Like

Thank you so much! I knew it was something stupid that I missed