Quoting Strings with Single Quotes, freeCodeCamp Basic Javascript VIDEO
In this lesson we learn how to save ourselves time and confusion concerning quotes. If we are using multiple double quotes in our string, then instead of having to use an escape character ( \ ) on all the double quotes inside the string, we can just change our outside quotes that go around our string from double quotes to single quotes. ***Note if there is single quotes within the string this will not work and you will have to use the escape character.***
Other Videos By We Will Code 2017-03-11 Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript 2017-03-11 Use Bracket Notation to Find the Nth Character in a String, freeCodeCamp Basic Javascript 2017-03-10 Understand String Immutability, freeCodeCamp Basic Javascript 2017-03-10 Use Bracket Notation to Find the First Character in a String, freeCodeCamp Basic JavaScript 2017-03-10 Find the Length of a String, freeCodeCamp Basic Javascript 2017-03-10 Appending Variables to Strings, freeCodeCamp Basic JavaScript 2017-03-10 Constructing Strings with Variables, freeCodeCamp Basic Javascript 2017-03-09 Concatenating Strings with the Plus Equals Operator, freeCodeCamp Basic Javascript 2017-03-09 Concatenating Strings with Plus Operator, freeCodeCamp Basic Javascript 2017-03-09 Escape Sequences in Strings, freeCodeCamp Basic Javascript 2017-03-09 Quoting Strings with Single Quotes, freeCodeCamp Basic Javascript 2017-03-09 Escaping Literal Quotes in Strings, freeCodeCamp Basic Javascript 2017-03-08 Declare String Variables, freeCodeCamp Basic Javascript 2017-03-08 Convert Celsius to Fahrenheit, freeCodeCamp Basic Javascript 2017-03-08 Compound Assignment With Augmented Division, freeCodeCamp Basic Javascript 2017-03-08 Compound Assignment With Augmented Multiplication, freeCodeCamp Basic Javascript 2017-03-08 Compound Assignment With Augmented Subtraction, freeCodeCamp Basic Javascript 2017-03-08 Compound Assignment With Augmented Addition, freeCodeCamp Basic Javascript 2017-03-08 Finding a Remainder in Javascript, freeCodeCamp Basic Javascript 2017-03-08 Divide one Decimal by Another with Javascript, freeCodeCamp Basic Javascript 2017-03-08 Multiply Two Decimals with Javascript, freeCodeCamp Basic Javascript
Tags: freeCodeCamp tutorial
freeCodeCamp review
learn javascript
escaping quotes in javascript