Help please Quoting Strings with Single Quotes

Help please Quoting Strings with Single Quotes
0

#1

Tell us what’s happening:
I am brand new to coding and I have no idea what I am missing or doing wrong. Everything I am reading on this is like “goo-goo daddy in the banana patch”

Your code so far


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



Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/quoting-strings-with-single-quotes


#2

You just want to replace backslash doublequotes with single quotes.

\" => '


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

So you can use ’ surrounding the full string and use " inside. Or you can use " surrounding the string with ’ inside.
The test wants you to surround the string with ’ and use " inside.


#4

Thank you sir. Obviously I am like a 1st grader when it comes to coding. Well a dumb 1st grader. Again thank you.


#5

No problem! Keep at it! It will get easier, I promise. I quit 20 times before it clicked. We all learn in different ways.