What is wrong with my code?Im not able to understand

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

const ourDecimal = 5.7;

// Only change code below this line

var myNumber = 0.009 ;
  **Your browser information:**

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

Challenge: Create Decimal Numbers with JavaScript

Link to the challenge:

The instructions say:

Create a variable myDecimal

But this is what you created:

var myNumber = 0.009 ;

Notice that the names don’t match.

1 Like

thankyou for your precious time.

That’s OK, my time is at best semi-precious. :wink:

1 Like

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