Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • ammarkhan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points

    The class print right color but cannot pass

    Posted March 5, 2017 3:24pm by ammarkhan
    .a{fill-rule:evenodd;}techdegree
    ammarkhan
    Front End Web Development Techdegree Student 21,661 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    Use an @each loop to set the variable $color to the color red, then blue, and finally green. Use the loop to create thre

    Posted February 13, 2016 3:58pm by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points

    Use an @each loop to set the variable $color to the color red, then blue, and finally green. Use the loop to create thre

    Posted February 13, 2016 3:58pm by Joshua szkodlarski
    Joshua szkodlarski
    8,604 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Elizabeth Mawer
    Elizabeth Mawer
    9,554 Points

    Sass code

    Posted December 14, 2015 5:22pm by Elizabeth Mawer
    Elizabeth Mawer
    9,554 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Marty Folwick
    Marty Folwick
    4,996 Points

    @each code challenge

    Posted December 7, 2015 8:46pm by Marty Folwick
    Marty Folwick
    4,996 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Blake Bush
    Blake Bush
    5,009 Points

    I need some help please.

    Posted October 25, 2015 1:26am by Blake Bush
    Blake Bush
    5,009 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Ben Berning
    Ben Berning
    31,784 Points

    Sass Basics: Creating Loops with @for and @each: Task 2

    Posted October 16, 2015 10:04pm by Ben Berning
    Ben Berning
    31,784 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    0 Answers

  • MUZ140694 Sylvia Zvavamwe
    MUZ140694 Sylvia Zvavamwe
    5,013 Points

    Creating loops with @for and @each

    Posted September 9, 2015 11:48am by MUZ140694 Sylvia Zvavamwe
    MUZ140694 Sylvia Zvavamwe
    5,013 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • MUZ140131 Maxwell Maja
    MUZ140131 Maxwell Maja
    10,327 Points

    advanced sass concepts- creating loops

    Posted April 13, 2015 12:47pm by MUZ140131 Maxwell Maja
    MUZ140131 Maxwell Maja
    10,327 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    2 Answers

  • MUZ140014 Justice Gwatidzo
    MUZ140014 Justice Gwatidzo
    11,920 Points

    Make a @for loop to iterate through the numbers 1 through 3. The for loop should create classes named in the format "ite

    Posted April 11, 2015 2:19pm by MUZ140014 Justice Gwatidzo
    MUZ140014 Justice Gwatidzo
    11,920 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    3 Answers

  • Kathryn Notson
    Kathryn Notson
    25,941 Points

    Sass Basics: Creating Loops with @for & @each

    Posted March 16, 2015 5:26pm by Kathryn Notson
    Kathryn Notson
    25,941 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Daniele Manca
    Daniele Manca
    10,986 Points

    Unclear how to complete this task

    Posted March 7, 2015 7:45pm by Daniele Manca
    Daniele Manca
    10,986 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Elliott Mangham
    Elliott Mangham
    13,086 Points

    Using @for loops in Sass

    Posted January 4, 2015 8:17pm by Elliott Mangham
    Elliott Mangham
    13,086 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    3 Answers

  • Todd Squitieri
    Todd Squitieri
    8,001 Points

    Creating a loop that will set background equal to color class

    Posted October 14, 2014 10:48am by Todd Squitieri
    Todd Squitieri
    8,001 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    4 Answers

  • Waqar Ashraf
    Waqar Ashraf
    3,743 Points

    SASS for loop

    Posted October 1, 2014 2:39am by Waqar Ashraf
    Waqar Ashraf
    3,743 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Gemma Weirs
    Gemma Weirs
    15,054 Points

    @each and @for Code Challenge - I keep getting a weird error

    Posted September 24, 2014 7:27pm by Gemma Weirs
    Gemma Weirs
    15,054 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    2 Answers

  • robinbehroozi
    robinbehroozi
    15,912 Points

    Having trouble with the Challenge Task in Sass

    Posted July 31, 2014 2:33pm by robinbehroozi
    robinbehroozi
    15,912 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Veronica Jimenez
    PLUS
    Veronica Jimenez
    Courses Plus Student 1,357 Points

    compilation error! so frustrating!

    Posted July 1, 2014 5:34pm by Veronica Jimenez
    Veronica Jimenez
    Courses Plus Student 1,357 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    2 Answers

  • Misty Majewski
    Misty Majewski
    5,276 Points

    @for loops

    Posted April 26, 2014 1:52pm by Misty Majewski
    Misty Majewski
    5,276 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    1 Answer

  • Howard Slatter
    Howard Slatter
    8,049 Points

    Advanced Sass Concepts - @each (2 of 2)

    Posted March 7, 2014 1:29am by Howard Slatter
    Howard Slatter
    8,049 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    3 Answers

  • Christina P
    Christina P
    4,048 Points

    Stuck on Sass Challenge

    Posted February 21, 2014 8:34am by Christina P
    Christina P
    4,048 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    2 Answers

  • Roderick Stotts
    Roderick Stotts
    7,884 Points

    Creating Loops challenge 1 of 2

    Posted February 20, 2014 5:39pm by Roderick Stotts
    Roderick Stotts
    7,884 Points
    • CSS
    • Sass Basics (retired)
    • Advanced Sass Concepts
    • Creating Loops with @for and @each

    8 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord