I can't run the test

I can't run the test
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 10.0; 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

Well the problem asks you to change the string the be wrapped with single quotes, so it’s looking for
var myStr = 'the entire string';
not something with the single quotes anywhere in the middle.


#3

<a> tag in the string uses double quotes , change it to single quotes and also remove all the backslashes ()

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