Quoting Strings with Single Quotes;

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/67.0.3396.99 Safari/537.36.

Link to the challenge:

You misunderstood. You needed to do two things:

  1. Replace the double quotes at the end with single quotes
  2. Remove the unneeded escape character (\) inside the quote because it is no longer needed

You did the second, but as to the first, simply surrounded the double quotes with two single quotes. You need to replace the double quotes at the beginning and the end with a single single quote.

thanks for you help but i solved it

Can someone please explain me this topic ? I am not understanding it.

Happy Coding!