#Where does the for loop takes args
3 messages ยท Page 1 of 1 (latest)
I personally didn't understand your question, do you mean where the variable todo_list comes from?
Hi there! ๐
If your models/views/templates follow a standard configuration, the data for todo_list would be defined in your view and then passed to this template.
On a side note, it looks like your <ul> tags are inside the loop which will result in multiple lists with only one list item in them. I could be wrong, but you may want to move the loop inside the opening and closing <ul> tags.
Does this make sense? I hope I understood your question correctly. ๐