Quoting Strings with Single Quotes: it is a bug?

Tell us what’s happening:

Hi, guys! The correct answer isn’t accept. What can I do? Some suggestion? Please!!!

Your code so far

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

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

Your browser information:

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

Link to the challenge:

It looks right. Make sure you delete the first declaration of myStr. You are supposed to change that to the second one (the one with the single quotes).

1 Like

Hi, RadoIIvanov! Thank you! You’re right. It was only to delete the first quote and my answer was accepted. Is that it always happens to put the answer one line down and I kept doing the same thing. Once again, thanks for the help!