Challenge 11 - help, I'm so close, this just won't work!


Here’s what I ran. In my console, it produces the correct answer as the last of 10 iterations over the loop. What am I doing wrong? Thanks!

function lightColumn(letter) {

var list = [

var indexNum = list.indexOf(letter);

var findColumn = [];

for (let i = 0; i < GRID.length; i = i +1) {


return findColumn;





Could it be that you are returning your array inside your for loop? “return findColumn” shouldn’t happen until the for loop is done (after the ‘}’ )


Thank you!! I did that and it worked!! This morning, of course, taking away a buffer day. But thanks so much & all the best as you work through these!


Yeah - I had a problem with an earlier challenge and got held back a day too. I hate it when that happens :frowning: