I am unable to complete the task

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

Your browser information:

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

Challenge: Create Decimal Numbers with JavaScript

Link to the challenge:

Create a variable myDecimal and give it a decimal value with a fractional part (e.g. 5.7 ).

You just need to rename the ourDecimal variable to myDecimal.

Create a new const/ let variable myDecimal and assigned a numerical value to it such as 3.5

1 Like

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