I need some help Basic JavaScript: Multiply Two Decimals with JavaScript

Tell us what’s happening:

Your code so far

var product = 2.0 * 0.0;

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13310.76.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.108 Safari/537.36.

Challenge: Multiply Two Decimals with JavaScript

Link to the challenge:

The exercise is asking you to make the variable ‘product’ equal to 5. To do that you need to change the 0.0 to a 2.5.

var product = 2.0 * 2.5;

1 Like

thank you very much yiu are my truye bbuddy

and this please https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.