Js 8/13


#1

I don't know what i did wrong, it tells me there's a problem with my syntax but i can't see it. I'm using the french version of the site but it has never caused any problem so far.
Here's my code

// Définissez quart ici.
var quart = function(nombre); {
return nombre / 4;
}
if (quart(60) % 3 === 0 ) {
console.log("La déclaration est vraie");
}
else {
console.log("La déclaration est fausse");
}


#2
var quart = function(nombre); {
return nombre / 4;
}

delete the semicolon here:

function(nombre);

Also if you're doing a non-english track it helps if you could provide the link to the exercise.


#3

Ty, it worked! (and now i feel stupid :pensive:)


#4

Don't need to this happens all the time to anyone coding. A little less the more you practice but still often enough :smile: