Basic JavaScript: Quoting Strings with Single Quotes

Basic JavaScript: Quoting Strings with Single Quotes:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/quoting-strings-with-single-quotes

So the directions say: " Change the provided string to a string with single quotes at the beginning and end and no escape characters."
I changed the code provided so now it is this:

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

It will not let me pass. A google search of past solutions looks to be the same as mine. In addition, what’s weird is that the criteria for passing asks that " myStr should contain the string I am a “double quoted” string inside “double quotes”.
But we are not asked to do this in the directions. I did try to change myStr to the “I am a “double quoted”…” string but that did not work either.

Here is a screenshot of the error message I am getting: https://imgur.com/a/E2cNSR3

Not sure what I am doing wrong.

I was able to pass the lesson with the code you have provided, have you tried simply refreshing the page / lesson and try again?

Sometimes the browser “hangs” an lessons don’t get validated as they should.
Hope this helps :+1:

You were right. Yeah, I had to refresh the lesson. Thanks.