Quoting Strings with Single Quotes, freeCodeCamp Basic Javascript

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=qBBlah0BFEc



Duration: 2:11
4,939 views
33


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-11Use Bracket Notation to Find the Last Character in a String, freeCodeCamp Basic Javascript
2017-03-11Use Bracket Notation to Find the Nth Character in a String, freeCodeCamp Basic Javascript
2017-03-10Understand String Immutability, freeCodeCamp Basic Javascript
2017-03-10Use Bracket Notation to Find the First Character in a String, freeCodeCamp Basic JavaScript
2017-03-10Find the Length of a String, freeCodeCamp Basic Javascript
2017-03-10Appending Variables to Strings, freeCodeCamp Basic JavaScript
2017-03-10Constructing Strings with Variables, freeCodeCamp Basic Javascript
2017-03-09Concatenating Strings with the Plus Equals Operator, freeCodeCamp Basic Javascript
2017-03-09Concatenating Strings with Plus Operator, freeCodeCamp Basic Javascript
2017-03-09Escape Sequences in Strings, freeCodeCamp Basic Javascript
2017-03-09Quoting Strings with Single Quotes, freeCodeCamp Basic Javascript
2017-03-09Escaping Literal Quotes in Strings, freeCodeCamp Basic Javascript
2017-03-08Declare String Variables, freeCodeCamp Basic Javascript
2017-03-08Convert Celsius to Fahrenheit, freeCodeCamp Basic Javascript
2017-03-08Compound Assignment With Augmented Division, freeCodeCamp Basic Javascript
2017-03-08Compound Assignment With Augmented Multiplication, freeCodeCamp Basic Javascript
2017-03-08Compound Assignment With Augmented Subtraction, freeCodeCamp Basic Javascript
2017-03-08Compound Assignment With Augmented Addition, freeCodeCamp Basic Javascript
2017-03-08Finding a Remainder in Javascript, freeCodeCamp Basic Javascript
2017-03-08Divide one Decimal by Another with Javascript, freeCodeCamp Basic Javascript
2017-03-08Multiply Two Decimals with Javascript, freeCodeCamp Basic Javascript



Tags:
freeCodeCamp tutorial
freeCodeCamp review
learn javascript
escaping quotes in javascript