Learn Courses My Dashboard

Why not use lesson id rather than creating an index M5-L5

I’m going through module 5 and just finished lesson 5. I’m wondering why not use lesson.id parameter when populating the HStack, rather than creating an index in the ForEach. It seems more proper and easier as well.

Thanks,
Chris

Maybe, hehe. Opinions?