The course asked me to remove the backspaces so i did, but it isnt working

yeah what did i do wrong here

const myStr = 'href="/"/ target="/_blank/">Link';

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0

Challenge: Quoting Strings with Single Quotes

Link to the challenge:

Why did you add all these extra forward slashes? You have also drastically changed the contents of that string. I would reset and only make the required changes.

yeah they were already there

They aren’t there when I load the challenge

const myStr = "<a href=\"\" target=\"_blank\">Link</a>";

also did this:

Const myStr = 'href="" target="_blank">Link';

also no work

i think im just stupid

That didn’t work because you deleted things that you weren’t supposed to delete. The only character you’re supposed to delete is /.

well i am dumb ok. this is why im here.

You aren’t dumb. You just aren’t exactly following the instructions. It takes practice to get used to exactly following the instructions so the computer understands your answer.

1 Like

ok did this it works now

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

thanks for helping me become smarter

1 Like

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