Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

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

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

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

  • 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
  • Julie Jensen
    Julie Jensen
    2,292 Points

    code not working

    Posted April 26, 2021 8:45pm by Julie Jensen
    Julie Jensen
    2,292 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    3 Answers

  • Pui Lun Christin C Hebron
    Pui Lun Christin C Hebron
    5,693 Points

    It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer targets the desired com

    Posted November 27, 2019 9:58pm by Pui Lun Christin C Hebron
    Pui Lun Christin C Hebron
    5,693 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • mo ode
    mo ode
    4,352 Points

    It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer targets the desired com

    Posted May 8, 2019 2:51pm by mo ode
    mo ode
    4,352 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    4 Answers

  • mo ode
    mo ode
    4,352 Points

    It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer targets the desired com

    Posted May 7, 2019 12:07am by mo ode
    mo ode
    4,352 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • Pavani Chilakala
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Pavani Chilakala
    Full Stack JavaScript Techdegree Graduate 17,946 Points

    It looks like a <h1> made its way inside the parent body.

    Posted March 25, 2019 4:43pm by Pavani Chilakala
    .a{fill-rule:evenodd;}techdegree seal-36
    Pavani Chilakala
    Full Stack JavaScript Techdegree Graduate 17,946 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • Heidi S Wolff
    Heidi S Wolff
    12,757 Points

    Replace :nth-child with the pseudo-class that only targets a specific type of child element.

    Posted July 27, 2017 10:05pm by Heidi S Wolff
    Heidi S Wolff
    12,757 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 Answers

  • David Dassau
    David Dassau
    8,628 Points

    I don't really understand the question...

    Posted July 13, 2017 7:11pm by David Dassau
    David Dassau
    8,628 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • Vijayakumar Subramani
    Vijayakumar Subramani
    10,419 Points

    It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer targets the desired com

    Posted June 9, 2017 11:49pm by Vijayakumar Subramani
    Vijayakumar Subramani
    10,419 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 Answers

  • Marcos Raj
    PLUS
    Marcos Raj
    Courses Plus Student 5,979 Points

    It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer targets the desired com

    Posted June 5, 2017 9:33pm by Marcos Raj
    Marcos Raj
    Courses Plus Student 5,979 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    0 Answers

  • jameskoene
    jameskoene
    5,070 Points

    This should work but it doesn't. ?. img:nth-last-of-type(3n+3)

    Posted March 1, 2017 7:34pm by jameskoene
    jameskoene
    5,070 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • Angus Eliott
    Angus Eliott
    3,793 Points

    what selector am I to use?

    Posted October 17, 2016 4:03am by Angus Eliott
    Angus Eliott
    3,793 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 Answers

  • Josh Brown
    PLUS
    Josh Brown
    Courses Plus Student 6,212 Points

    No idea what this is asking.

    Posted July 14, 2016 4:09am by Josh Brown
    Josh Brown
    Courses Plus Student 6,212 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • Ayaz Sadiq
    PLUS
    Ayaz Sadiq
    Courses Plus Student 5,361 Points

    Is there something that I'm doing wrong in this exercise?

    Posted June 17, 2016 1:56pm by Ayaz Sadiq
    Ayaz Sadiq
    Courses Plus Student 5,361 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    3 Answers

  • Ayaz Sadiq
    PLUS
    Ayaz Sadiq
    Courses Plus Student 5,361 Points

    How I do I replace an nth class with a pseudo class that only targets a specific type of child element?

    Posted June 17, 2016 3:26am by Ayaz Sadiq
    Ayaz Sadiq
    Courses Plus Student 5,361 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 Answers

  • Braxton Strickland
    Braxton Strickland
    2,624 Points

    Idk what its asking me to do that I havent already tried

    Posted February 3, 2016 4:33pm by Braxton Strickland
    Braxton Strickland
    2,624 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 Answers

  • Dawn Triplett
    Dawn Triplett
    17,000 Points

    CSS Selectors challenge

    Posted January 29, 2016 8:27pm by Dawn Triplett
    Dawn Triplett
    17,000 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 Answers

  • David Dong
    David Dong
    5,593 Points

    What is Wrong With My CSS?

    Posted January 25, 2016 1:57am by David Dong
    David Dong
    5,593 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    3 Answers

  • Christian Solorzano
    Christian Solorzano
    6,606 Points

    Struggling with this: It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer t

    Posted July 13, 2015 9:34pm by Christian Solorzano
    Christian Solorzano
    6,606 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    6 Answers

  • MUZ140968 Tatenda Nyakudya
    MUZ140968 Tatenda Nyakudya
    2,167 Points

    It looks like an <h1> made its way inside the parent body. Now our :nth-child selector no longer targets the desired com

    Posted July 3, 2015 8:49pm by MUZ140968 Tatenda Nyakudya
    MUZ140968 Tatenda Nyakudya
    2,167 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    3 Answers

  • Martin Bornman
    PLUS
    Martin Bornman
    Courses Plus Student 12,662 Points

    :nth-of-type selector

    Posted June 10, 2015 5:41pm by Martin Bornman
    Martin Bornman
    Courses Plus Student 12,662 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • MUZ140067 Precious Mutangi
    MUZ140067 Precious Mutangi
    13,064 Points

    stage 3 challenge 1

    Posted March 5, 2015 2:34pm by MUZ140067 Precious Mutangi
    MUZ140067 Precious Mutangi
    13,064 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    1 Answer

  • Elliott Mangham
    Elliott Mangham
    13,086 Points

    Replace :nth-child with the pseudo-class that only targets a specific type of child element

    Posted February 17, 2015 12:33pm by Elliott Mangham
    Elliott Mangham
    13,086 Points
    • CSS
    • CSS Selectors
    • Advanced Selectors
    • :nth Pseudo-Class Challenge - Pt. 2

    2 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