Escaping Literal Quotes in Strings, freeCodeCamp Basic Javascript

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



Duration: 2:50
10,912 views
87


In this challenge we learn how to add multiple double or single quotes inside of our string by using the backslash escape character ( \ ). The backslash can be used when you want to include quotes inside of a string to notify javascript that the escaped quotes is a literal quote that you want within your string. If we do not use the escape character, javascript will think the quote marks the end of the string.




Other Videos By We Will Code


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
2017-03-08Create Decimal Numbers with Javascript, freeCodeCamp Basic Javascript



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