I am having trouble with Task 3 for JavaScript Functions
I need a bit of guidance to get on the right track.
I am having trouble with Task 3 for JavaScript Functions
I need a bit of guidance to get on the right track.
Hello @kgirl89
you doing great
just you forget a little thing
para.textContent = random(names.length);
random return the index of the postion in the array not the array element
so you need to do little edit para.textContent = names[random(names.length)];
hope that help and have a nice day
This worked! Thank you
you welcome