Create Decimal Numbers with JavaScript

Tell us what’s happening:

myDecimal should be a number.
myDecimal should have a decimal point

Your code so far

var ourDecimal = 5.7;

// Only change code below this line


Your browser information:

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

Link to the challenge:

so we know:

var ourDecimal = 5.7;

and we are asking to add
Create a variable myDecimal and give it a decimal value with a fractional part (e.g. 5.7 ).

so 1st thing we add the word: var as it stands for variable
var
Then we know the name is myDecimal
so it becomes
var myDecimal
then the last part that is the 5.7 and a = to connect them

var myDecimal = 5.7;

There asking help with the lesson since they can’t sollute it. The lesson is Create Decimal Numbers with JavaScript