# Basic JavaScript - Escaping Literal Quotes in Strings

**URL:** <https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/595138>\
**Category:** Curriculum Help\
**Created:** [February 28, 2023, 3:02am UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/595138 "2023-02-28T03:02:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurtay](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@laurtay](https://forum.freecodecamp.org/u/laurtay)\
**Post date:** [February 28, 2023, 3:02am UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/595138/1 "2023-02-28T03:02:20Z")

</div>

**Tell us what’s happening:**  
I am not sure what I am doing wrong here, I have 4 " just like the example.

**Your code so far**

```javascript
const myStr = I am a \"double quoted\" string inside \"double quotes\"."; // Change this line

```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36`

**Challenge:** Basic JavaScript - Escaping Literal Quotes in Strings

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 29, 2023, 3:32pm UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/595138/3 "2023-08-29T15:32:00Z")

</div>

Closed on August 29, 2023, 3:32pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
