in the following example, we will see how the use of special characters are needed to properly display a message.
var txt="Did you read that really "cool" book?";
value is not assigned to the variable. If we require the quotes in our output, we need to use special characters in our code. Here is how we would
address that need.
var txt="Did you read that really \"cool\" book?";
double quotes, the new line special character is also very common.
Recommended Books & Training Resources