// These are correct:Of course, it is okay to use only one style of quotes. You can escape the quotes inside the string by using the backslash (\) escape character:
const grouchoContraction = "I've had a perfectly wonderful evening, but this wasn't it.";
const quoteInString = "Groucho Marx once said 'Quote me as saying I was mis-quoted.'";
// This is incorrect:
const uhOhGroucho = 'I've had a perfectly wonderful evening, but this wasn't it.';
// Correct use of same quotes:
const allSameQuotes = 'I\'ve had a perfectly wonderful evening, but this wasn\'t it.';
href
value, or escape the existing ones. Keep the double quote marks around the entire string.
href
value "#Home" by either changing or escaping them.
testString: assert(code.match(//g), 'Your code should fix the quotes around the href
value "#Home" by either changing or escaping them.');
- text: Your code should keep the double quotes around the entire string.
testString: assert(code.match(/".*?<\/p>";/g), 'Your code should keep the double quotes around the entire string.'); ```
Click here to return home
"; console.log(innerHtml); ```