Quoting Strings with Single Quotes curly quote issue

Quoting Strings with Single Quotes curly quote issue
0.0 0

#1

Tell us what’s happening:

Im having trouble getting my single quotation marks to register correctly. I am using an iPad Pro. I have had similar issues with the double quotes where the keyboard was imputing them differently then the touchscreen and so they were not registering. However i am having no such luck on a work around with the single quotes.

Example:
‘ with keyboard
“ with keyboard
‘ with touch screen
" with touch screen

Are these projects not really capable of being done from an iOS device?

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 (iPad; CPU OS 11_4_1 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/67.0.3396.87 Mobile/15G5054c Safari/604.1.

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


#2

Hi @CoryPelletier,
from the example you gave it seems that you are not using the ' sign, but rather a different sign with a different unicode.

From using the Unicode character table, you can clearly see the difference between the two.

https://unicode-table.com/en/0027/

https://unicode-table.com/en/2018/

Hope that helps