Quoting Strings with Single Quotes and double quotes

Tell us what’s happening:

my code is not working.

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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36.

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

try ‘Link’;

You can use quotes inside a string, as long as they don’t match the quotes surrounding the string:

var answer = "It's alright";
var answer = "He is called 'Johnny'";
var answer = 'He is called "Johnny"';