Build an Apply Discount Function - Build an Apply Discount Function

Hi there,

Is this a valid function call based on the function definition?

What is your function returning?

In the future, when you enter a code block into a forum post, please precede it with three backticks to make it easier to read and test.

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

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Happy coding!