Puzzle 3 - Not enough buttons?


#1

I think I had to code the solution with text, because I couldn’t figure out how to the correct command for printing the list times in the console log command. Based on the example code in Puzzle 1, was able to copy and paste the text to make it work.

for (var i = 0; i < daysOfWeek.length; i++) {
console.log(daysOfWeek[i]);

Let me know if I am correct and a button was missing, if not, then please set me straight!


#2

You’re correct, we don’t currently have a block for accessing a list item by index (eg daysOfWeek[i]). This is something that we are addressing in the revised unit 6, which we plan to complete and launch in January.