# Basic JavaScript - Escaping Literal Quotes in Strings

**URL:** <https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/575865>\
**Category:** Curriculum Help\
**Created:** [December 4, 2022, 3:03pm UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/575865 "2022-12-04T15:03:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![toutouhelwa](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/toutouhelwa/32/182657_2.png) [@toutouhelwa](https://forum.freecodecamp.org/u/toutouhelwa)\
**Post date:** [December 4, 2022, 3:03pm UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/575865/1 "2022-12-04T15:03:54Z")

</div>

**Tell us what’s happening:**  
Describe your issue in detail here.

**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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.62`

**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:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [December 4, 2022, 3:07pm UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/575865/2 "2022-12-04T15:07:48Z")

</div>

Please **Tell us what’s happening** in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

---

<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:** [June 5, 2023, 3:08am UTC](https://forum.freecodecamp.org/t/basic-javascript-escaping-literal-quotes-in-strings/575865/3 "2023-06-05T03:08:01Z")

</div>

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