# JS Variable Challenge,

**URL:** <https://forum.freecodecamp.org/t/js-variable-challenge/390446>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [May 18, 2020, 2:51am UTC](https://forum.freecodecamp.org/t/js-variable-challenge/390446 "2020-05-18T02:51:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtlewis71](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mtlewis71/32/148062_2.png) [@mtlewis71](https://forum.freecodecamp.org/u/mtlewis71)\
**Post date:** [May 18, 2020, 2:51am UTC](https://forum.freecodecamp.org/t/js-variable-challenge/390446/1 "2020-05-18T02:51:59Z")

</div>

**Tell us what’s happening:**  
**Link to the challenge:**

**Challenge:** Declare JavaScript Variables

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

**Your code so far**

```js

var myName = "Mark";

```

What, pray tell, am I doing wrong here? I have clear code, refreshed the browser, and still no joy!

---

<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:** [May 18, 2020, 3:03am UTC](https://forum.freecodecamp.org/t/js-variable-challenge/390446/2 "2020-05-18T03:03:09Z")

</div>

I believe that the challenge wants you to declare but not initialize the variable. ie remove the `= "Mark"`

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 12:53pm UTC](https://forum.freecodecamp.org/t/js-variable-challenge/390446/3 "2021-06-01T12:53:59Z")

</div>

Closed on June 1, 2021, 12:53pm UTC


