Grow your CSS skills. Land your dream job.

Coffeescript nested iterations

  • # March 22, 2013 at 3:55 pm

    Nevermind. You did it again. It’s working!

    # March 22, 2013 at 3:57 pm

    One last question…this seemed like a situation where I need to iterate through html elements with .each. How do I know when I need to do that?

    And again, thank you very much. Thats a very simple and concise solution. I appreciate all your help.

    # March 22, 2013 at 5:11 pm

    You would use `each()` if you wanted to do something to all of them at once, but required you to go through each one individually (perhaps there is something unique about each one).

    You can sort of relate `each()` to a for loop.

    # March 22, 2013 at 5:36 pm

    That makes sense. Thanks Doc!

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".