Assignment005

JavaScript - Using quotes by escaping quotes \

As previously mentioned, single quotes and double quotes can both be used in JavaScript.
Sometimes you need to quote within and quote and alternating quotes can be tedious.
Another way of using quotes within quotes is to escape the inner quotes.
It's easier to understand if you see an example by using the escape character \:

window.alert("Edgar said, \"Claudia deservers an A++++++\"");

window.alert("Cesar said, \"That's what she said!\"");