Functions practise. help needed

Hi!
I’m trying to get assessment on my functions test. This is as far as I got:

Thanks in advance.

Juan.

Hello @Juan_Salerno

you doing great it was just tiny miss type in this line
Math.floor(Math.random()*names.lenght)
replace lenght with length

we all get cought by those error

when something did not work like that try to use console.log() toprint the value of the variable to see if it has the right value or not

hope that help and have a nice day