1
00:00:00,150 --> 00:00:04,050
As we're aware strings must be written within quotes.

2
00:00:04,050 --> 00:00:12,450
Let's see what happens when we create a variable and put quotes inside of the string in this example.

3
00:00:12,490 --> 00:00:20,180
We've placed quotes around the word players in our sentence if we go ahead and preview this file in

4
00:00:20,180 --> 00:00:21,050
our web browser

5
00:00:29,290 --> 00:00:36,280
we can see here that the text does not output as it should to eliminate this issue.

6
00:00:36,280 --> 00:00:39,340
We need to use the backslash escape character

7
00:00:44,270 --> 00:00:46,520
we must put one before the initial quote

8
00:00:51,630 --> 00:00:52,600
one over here.

9
00:00:54,890 --> 00:01:03,150
Now when we save the file and refresh our web browser we can see that the sentence correctly displays

10
00:01:03,690 --> 00:01:06,060
with quotations around the word player's

11
00:01:09,500 --> 00:01:17,040
and that is how you deal with special characters that you have issues with in JavaScript output.
