Please help .thanks

Tell us what’s happening:

Your code so far


var ourDecimal = 5.7;

// Only change code below this line
myDecimal = 4.6;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/create-decimal-numbers-with-javascript/

1 Like

Hi @quantran, that’s correct, but take a close look at how you’re declaring the variable myDecimal.

thanks Nicknish,
You said that’s correct, but systems said it was wrong.
i do nt know why,
Can you help me to write a right answer.

Hi @quantran! Sorry, I should have been more clear: the challenge asks to “create a new variable”.

Check to make sure that you’re correctly creating the variable, myDecimal.

Thanks, but i need create Decimal Numbers with JavaScript.

var ourDecimal = 5.7;

// Only change code below this line
4.6;

my answer was wrong, can you help me with right answer. Thanks

Thank you so much. i have done as your advice.