When should you use single quotes or double quotes for strings?

This is a personal preference.

but I personally think strings should be with double quotation marks even just for avoiding this simple error:
console.log('I don't like double quotation');

discuss.codecademy.com/t/when-should-you-use-single-quotes-or-double-quotes-for-strings/489264/4