Using the Correct Double Quotes

When writing code it is important to keep in mind the quotation marks we are using. On a keyboard, there is a single button for the left quote (“A) and the right quote (A”). However, these two types of double quotes don’t work in coding language.

The correct quote to use while writing code is a “straight” double quote which is neither a left nor right quote as shown in the first line of the below image. A line of code will not work if any other type of double-quote is used within the code.

Various Quotation Marks
Various Quotation Marks