Tell us what’s happening:

why this code is not accepted

Your code so far

var myStr = '<a href="" 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/80.0.3987.163 Safari/537.36.

Challenge: Quoting Strings with Single Quotes

Link to the challenge:

this should be string as well

because it doesn’t match to what it was
for example it should be target="_blank"

you really need to just remove the slashes, nothing else

try resetting and be careful to not remove anything else

I can’t fix it. please explain me how to fix this.?

reset your code

now, first thing, you can change the quotes wrapping the string to single quotes

          this one
var myStr = "<a href=\"\" target=\"_blank\">Link</a>";
                                                                     and this one

and then remove the escape characters

                   this                    this      this    this
                     |                       |         |       |
var myStr = "<a href=\"\" target=\"_blank\">Link</a>";

end, easy peasy