in the script below after I got the array to write
to the page
I was going to get the index number to write. Added
var y = myColors.indexOf("green");
but this breaks the code.
I have checked the syntax and it seems to be ok.
What anm I doing wrong?
Allen in Dallas