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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • manqing cao
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    manqing cao
    Full Stack JavaScript Techdegree Student 3,125 Points

    Not sure why the code is wrong with first child of nth child

    Posted July 30, 2022 5:39am by manqing cao
    .a{fill-rule:evenodd;}techdegree
    manqing cao
    Full Stack JavaScript Techdegree Student 3,125 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Kelvin Arias
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Kelvin Arias
    Full Stack JavaScript Techdegree Student 2,494 Points

    Having trouble finding the right code to select all the odd "li" without changing the first "li" which is also odd.

    Posted December 22, 2021 5:43pm by Kelvin Arias
    .a{fill-rule:evenodd;}techdegree
    Kelvin Arias
    Full Stack JavaScript Techdegree Student 2,494 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Ryan Miles
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Ryan Miles
    Full Stack JavaScript Techdegree Student 3,261 Points

    Issue, with even or last

    Posted November 7, 2021 10:03am by Ryan Miles
    .a{fill-rule:evenodd;}techdegree
    Ryan Miles
    Full Stack JavaScript Techdegree Student 3,261 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Faith Wong
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Faith Wong
    Full Stack JavaScript Techdegree Student 3,174 Points

    Stuck on Step 3. What am I missing?

    Posted February 24, 2021 4:50pm by Faith Wong
    .a{fill-rule:evenodd;}techdegree
    Faith Wong
    Full Stack JavaScript Techdegree Student 3,174 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    2 Answers

  • Christopher Binetti
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Christopher Binetti
    Full Stack JavaScript Techdegree Student 4,932 Points

    Bummer: Are you setting the color of the last list item to `azure`?

    Posted January 19, 2021 10:05pm by Christopher Binetti
    .a{fill-rule:evenodd;}techdegree
    Christopher Binetti
    Full Stack JavaScript Techdegree Student 4,932 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • jclaurent2
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    jclaurent2
    Front End Web Development Techdegree Student 10,899 Points

    still get the same error of the previous challenge nth

    Posted October 20, 2020 10:41am by jclaurent2
    .a{fill-rule:evenodd;}techdegree
    jclaurent2
    Front End Web Development Techdegree Student 10,899 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    2 Answers

  • Kaya Jackson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Kaya Jackson
    Full Stack JavaScript Techdegree Student 8,734 Points

    I think there might be a bug in this challenge.

    Posted May 27, 2020 12:31am by Kaya Jackson
    .a{fill-rule:evenodd;}techdegree
    Kaya Jackson
    Full Stack JavaScript Techdegree Student 8,734 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    2 Answers

  • Sam Blaha
    Sam Blaha
    15,146 Points

    Is this bugged? I did set the last child to azure and passed task 2. On task 3 they want evens to be blue and they are..

    Posted May 22, 2020 3:54am by Sam Blaha
    Sam Blaha
    15,146 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Harshal Amin
    Harshal Amin
    2,441 Points

    it says that the color of the all even numbered li needs to be dodgerblue, but it does give an error

    Posted March 26, 2020 1:42am by Harshal Amin
    Harshal Amin
    2,441 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    2 Answers

  • Harshal Amin
    Harshal Amin
    2,441 Points

    correct answer but still gives a bummer

    Posted March 25, 2020 2:17am by Harshal Amin
    Harshal Amin
    2,441 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Biljana Sotirovska
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Biljana Sotirovska
    Full Stack JavaScript Techdegree Graduate 25,952 Points

    I keep getting error that the color of li:last-child is not set to azure.

    Posted February 12, 2020 2:48pm by Biljana Sotirovska
    .a{fill-rule:evenodd;}techdegree seal-36
    Biljana Sotirovska
    Full Stack JavaScript Techdegree Graduate 25,952 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Melbourne Hauk
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Melbourne Hauk
    Full Stack JavaScript Techdegree Student 2,286 Points

    Bug in the answer processing for task 3?

    Posted January 29, 2020 3:33pm by Melbourne Hauk
    .a{fill-rule:evenodd;}techdegree
    Melbourne Hauk
    Full Stack JavaScript Techdegree Student 2,286 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Alexis Smith
    Alexis Smith
    7,454 Points

    i forgot where to find this example in the video

    Posted January 6, 2020 3:30pm by Alexis Smith
    Alexis Smith
    7,454 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    0 Answers

  • Adam Cessna
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Adam Cessna
    Full Stack JavaScript Techdegree Student 9,917 Points

    nth-child help

    Posted December 12, 2019 10:08pm by Adam Cessna
    .a{fill-rule:evenodd;}techdegree
    Adam Cessna
    Full Stack JavaScript Techdegree Student 9,917 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Alan Longcoy
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Alan Longcoy
    Python Development Techdegree Graduate 30,130 Points

    Is this passable? It is expecting the last-child (aneven child) to be azure and all the even children to be dodger blue.

    Posted November 2, 2019 4:30pm by Alan Longcoy
    .a{fill-rule:evenodd;}techdegree seal-36
    Alan Longcoy
    Python Development Techdegree Graduate 30,130 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Gamaliel Burgos
    Gamaliel Burgos
    8,681 Points

    The pseudo class is a white color for the first element

    Posted August 18, 2019 9:46pm by Gamaliel Burgos
    Gamaliel Burgos
    8,681 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Feraas Tayeh
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Feraas Tayeh
    Full Stack JavaScript Techdegree Student 4,424 Points

    My answer is correct. When I check work, it says "make sure you select the first child", although q says last child.

    Posted August 10, 2019 1:34pm by Feraas Tayeh
    .a{fill-rule:evenodd;}techdegree
    Feraas Tayeh
    Full Stack JavaScript Techdegree Student 4,424 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Feraas Tayeh
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Feraas Tayeh
    Full Stack JavaScript Techdegree Student 4,424 Points

    My answer is correct, but its telling me its not.

    Posted August 8, 2019 3:55pm by Feraas Tayeh
    .a{fill-rule:evenodd;}techdegree
    Feraas Tayeh
    Full Stack JavaScript Techdegree Student 4,424 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Brian Lockerbie
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brian Lockerbie
    Full Stack JavaScript Techdegree Graduate 17,512 Points

    Why am I getting this Are you setting the color of the last list item to `azure`?

    Posted July 23, 2019 9:41pm by Brian Lockerbie
    .a{fill-rule:evenodd;}techdegree seal-36
    Brian Lockerbie
    Full Stack JavaScript Techdegree Graduate 17,512 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Brooks Johnson
    Brooks Johnson
    14,041 Points

    When I add the selector for li:nth-child(even) it overwrites the selector for last-child.

    Posted June 30, 2019 11:57am by Brooks Johnson
    Brooks Johnson
    14,041 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • Caroline Chan
    Caroline Chan
    3,502 Points

    Issue with task 2 out of 4

    Posted June 30, 2019 6:20am by Caroline Chan
    Caroline Chan
    3,502 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    2 Answers

  • Alfy Hushairi
    Alfy Hushairi
    4,057 Points

    Hi, I am having an issue with getting past a challenge task, seems that task 2 and 3 are conflicting with each other

    Posted March 28, 2019 4:33am by Alfy Hushairi
    Alfy Hushairi
    4,057 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    1 Answer

  • meghana Joshi
    meghana Joshi
    4,596 Points

    Why I am getting the quiz pseudo-selectors wrong

    Posted February 13, 2019 11:41pm by meghana Joshi
    meghana Joshi
    4,596 Points
    • JavaScript
    • CSS Selectors Quickstart
    • Pseudo-classes and Combinators
    • Pseudo-classes Challenge

    2 Answers

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

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.