JS Don't Repeat Yourself (D.R.Y)


var orangeCost = function(number) {
var val = number * 5;
it says: Ops, tente outra vez.
It looks like you didn't call the orangeCost function. Make sure to call it and pass it a price!
help, please


the function call:


should be outside your function (after };), and you misspelled Cost in your function call


thank u, stetim94. I'll try 2 b more attentive :blush: