Basic JavaScript - Quoting Strings with Single Quotes

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

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

Why I’m I stuck after doing all the right things?
Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36

Challenge: Basic JavaScript - Quoting Strings with Single Quotes

Link to the challenge:

Welcome to FCC Forum!
Please look at the target value. Something is missing there so the link could not open in a new tab.

I hope this helps you.

Happy coding! :slight_smile:

Thanks a lot. Got it though after some help from other JVS coders.

Good to hear! Happy coding! :slight_smile:

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