Javascript quotes

**what’s wrong with this?

Your code so far

const myStr = '<a href="" 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/99.0.4844.51 Safari/537.36

Challenge: Quoting Strings with Single Quotes

Link to the challenge:

You removed some things you shouldn’t have - the forward slashes and the underscore. You were only supposed to remove the back slashes for the escape characters and change the containing quotes to single quotes.

Hit Reset All Code and try it again, pay close attention to the instructions.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.