i have changed the outer quotes here to singl;e quotes and removed the backlash inside the code, however it keep says : Remove all the backslashes ( \ )
any idea what do i have to do ?
i am new here and this is my first post, please accept my apologies if i am doing something stupid :o
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_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36.
Link to the challenge:
you have done other changes, like added an extra
you have also removed a forward slash (it should be
</a> at the end of the string)
Hi ieahleen, Thank you for helping me out here. now the code looks like this:
var myStr = ‘< a > href=“http://www.example.com” target= “_blank” >Link< / a>’;
and still says that i have to remove backslashes, do you see something else wrong ?
what’s the original string?
you still have the extra
> at the beginning - did you do the html part of the certificate? the
> goes after all the attributes
put the old and new strings nest each other and see what are the differences. there is something you probably deleted, or added accidentally
i have tried this and it worked well! thanks ieahleen!