# Help! Code Error

**URL:** <https://forum.freecodecamp.org/t/help-code-error/468710>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [July 10, 2021, 2:08pm UTC](https://forum.freecodecamp.org/t/help-code-error/468710 "2021-07-10T14:08:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vimz92](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/vimz92/32/224821_2.png) [@Vimz92](https://forum.freecodecamp.org/u/Vimz92)\
**Post date:** [July 10, 2021, 2:08pm UTC](https://forum.freecodecamp.org/t/help-code-error/468710/1 "2021-07-10T14:08:46Z")

</div>

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

Q) Call the `processArg` function with an argument of `7` and assign its return value to the variable `processed` .  
Tips: `processed` should have a value of `2`.  
Tips: 'You should assign `processArg` to `processed`

Answer:

```auto
// Setup

var processed = 0;

function processArg(num) {

  return (num + 3) / 5;

}

// Only change code below this line

var processed = 2;

function processArg(num) {

  return (num + 3) / 5;

}

processed = processArg(7);

```

======================

I’m unable to proceed further, please guide me. What mistake did i do ? Where am i wrong!

---

<div class="post-metadata">

**Author:** ![Sky020](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sky020/32/128093_2.png) [@Sky020](https://forum.freecodecamp.org/u/Sky020)\
**Post date:** [July 10, 2021, 2:15pm UTC](https://forum.freecodecamp.org/t/help-code-error/468710/2 "2021-07-10T14:15:47Z")

</div>

Hello there,

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

For future posts, if you have a question about a specific challenge as it relates to your written code for that challenge, just click the **Ask for Help** button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

---

<div class="post-metadata">

**Author:** ![Vimz92](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/vimz92/32/224821_2.png) [@Vimz92](https://forum.freecodecamp.org/u/Vimz92)\
**Post date:** [July 10, 2021, 2:19pm UTC](https://forum.freecodecamp.org/t/help-code-error/468710/3 "2021-07-10T14:19:35Z")

</div>

Hey Sky020,

I’m sorry, but your answer is not related to my issue. Any one can help me?

Thanks,

---

<div class="post-metadata">

**Author:** ![bbsmooth](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bbsmooth/32/203556_2.png) [@bbsmooth](https://forum.freecodecamp.org/u/bbsmooth)\
**Post date:** [July 10, 2021, 2:27pm UTC](https://forum.freecodecamp.org/t/help-code-error/468710/4 "2021-07-10T14:27:52Z")

</div>

You don’t need to redefine the `processArg` function, it is already defined for you. So get rid of that and it should pass.

---

<div class="post-metadata">

**Author:** ![Vimz92](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/vimz92/32/224821_2.png) [@Vimz92](https://forum.freecodecamp.org/u/Vimz92)\
**Post date:** [July 10, 2021, 3:09pm UTC](https://forum.freecodecamp.org/t/help-code-error/468710/5 "2021-07-10T15:09:47Z")

</div>

Thanks, Mate. That fixed.

---

<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:** [January 9, 2022, 3:10am UTC](https://forum.freecodecamp.org/t/help-code-error/468710/6 "2022-01-09T03:10:19Z")

</div>

Closed on January 9, 2022, 3:10am UTC

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