# Can't pass the test, HELP!

**URL:** <https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464>\
**Category:** General\
**Created:** [February 17, 2022, 12:33pm UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464 "2022-02-17T12:33:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusratofa](https://avatars.discourse-cdn.com/v4/letter/y/8c91f0/32.png) [@yusratofa](https://forum.freecodecamp.org/u/yusratofa)\
**Post date:** [February 17, 2022, 12:33pm UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464/1 "2022-02-17T12:33:46Z")

</div>

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

**Your code so far**

```nohighlight

const myStr = 'I am a "double quoted" sting 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/98.0.4758.82 Safari/537.36`

**Challenge:** 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:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [February 17, 2022, 12:50pm UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464/2 "2022-02-17T12:50:33Z")

</div>

You missed the instruction:

> Use backslashes…

You also misspelled “string” and are missing a quote.

---

<div class="post-metadata">

**Author:** ![yusratofa](https://avatars.discourse-cdn.com/v4/letter/y/8c91f0/32.png) [@yusratofa](https://forum.freecodecamp.org/u/yusratofa)\
**Post date:** [February 17, 2022, 12:54pm UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464/3 "2022-02-17T12:54:48Z")

</div>

Now I did figure it out, if anyone is having a hard time with this one the answer is just  
const myStr= “I am a “double quoted” string inside “double quotes”.”;  
you just have to be careful with the spacings and spellings.😃

---

<div class="post-metadata">

**Author:** ![yusratofa](https://avatars.discourse-cdn.com/v4/letter/y/8c91f0/32.png) [@yusratofa](https://forum.freecodecamp.org/u/yusratofa)\
**Post date:** [February 17, 2022, 12:58pm UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464/4 "2022-02-17T12:58:12Z")

</div>

Thank you, I see my mistakes now.

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [February 17, 2022, 12:59pm UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464/5 "2022-02-17T12:59:10Z")

</div>

Yeah, it confuses people at first - especially if you’re not used to coding and escape characters - that’s why there is a lesson.

---

<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 19, 2022, 12:59am UTC](https://forum.freecodecamp.org/t/cant-pass-the-test-help/497464/6 "2022-08-19T00:59:11Z")

</div>

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