Help! Quoting Strings with Single Quotes

Tell us what’s happening:

Not sure if it is me or what is happening over here. I keep on getting an error: You should remove all the backslashes ( \ ).

Your code so far
var myStr = ‘Link’;

var myStr = '<a href="" target="_blank">Link</a>';

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS armv7l 12105.75.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.102 Safari/537.36.

Challenge: Quoting Strings with Single Quotes

Link to the challenge:

If what you have in the code window is all there is it should work. You do have a typo in the url though. If nothing else works maybe try the “reset all code” button – there’s not that much to redo.

Thank you, it was the typo’s fault :smile: ID10T Error

1 Like