Please what wrong with this code: Quoting Strings with Single Quotes

Please what wrong with this code: Quoting Strings with Single Quotes
0

#1

Tell us what’s happening:

Your code so far


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


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/quoting-strings-with-single-quotes


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

The above code is right and works. I tested and it passed.


#3

But it’s not working, when am trying run code, so annoying.


#4

reload the page, clear text box and paste the code I provided above.

Both your and mine are same, I don’t know what’s wrong on your side.


#5

woow, thanks alot its finally work. I reload the page. thank you


#6

You are Welcome. There are so many similar threads in this forum. I think tests are not tested for common displacements.