🤑 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    :checked

    Posted October 22, 2021 7:52pm by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • saber
    saber
    13,276 Points

    Is it necessary to use an attribute selector for the checkbox?

    Posted January 19, 2020 10:28pm by saber
    saber
    13,276 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Sam Weeks
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sam Weeks
    Front End Web Development Techdegree Student 16,699 Points

    Bit Confused with first and last child with attribute selectors

    Posted November 28, 2019 1:23pm by Sam Weeks
    .a{fill-rule:evenodd;}techdegree
    Sam Weeks
    Front End Web Development Techdegree Student 16,699 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    2 Answers

  • Rouillie Wilkerson
    Rouillie Wilkerson
    10,419 Points

    In the following code, I experimented by removing the bold and replacing it with italics. It didn't work.

    Posted December 10, 2018 10:09pm by Rouillie Wilkerson
    Rouillie Wilkerson
    10,419 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    2 Answers

  • G H Mahimaanvita
    G H Mahimaanvita
    16,234 Points

    Why are both the input:focus and textarea:focus are targeted in css?

    Posted November 10, 2018 9:14am by G H Mahimaanvita
    G H Mahimaanvita
    16,234 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Shloime Kahan
    Shloime Kahan
    4,943 Points

    Border not working

    Posted July 25, 2018 7:35am by Shloime Kahan
    Shloime Kahan
    4,943 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Madeline Yao
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Madeline Yao
    Full Stack JavaScript Techdegree Student 9,611 Points

    Why the Border Color does not Change Once It Receives Focus?

    Posted June 7, 2018 12:29am by Madeline Yao
    .a{fill-rule:evenodd;}techdegree
    Madeline Yao
    Full Stack JavaScript Techdegree Student 9,611 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Saqib Ishfaq
    Saqib Ishfaq
    13,912 Points

    why is it that we have to specify more, after having specified the type attribute already

    Posted November 10, 2017 11:54pm by Saqib Ishfaq
    Saqib Ishfaq
    13,912 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    2 Answers

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    font-weight: bolder;

    Posted October 28, 2017 10:24pm by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    3 Answers

  • Alex Tabacchi
    Alex Tabacchi
    2,342 Points

    After the adjacent sibling combinator, why did the teacher add the sibling 'label'?

    Posted May 2, 2017 12:40am by Alex Tabacchi
    Alex Tabacchi
    2,342 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Sherrie Gossett
    Sherrie Gossett
    14,924 Points

    Curious....

    Posted October 17, 2016 2:36am by Sherrie Gossett
    Sherrie Gossett
    14,924 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Kailash Seshadri
    Kailash Seshadri
    3,087 Points

    Can a link be disabled?

    Posted July 17, 2016 1:56pm by Kailash Seshadri
    Kailash Seshadri
    3,087 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Augusto J. Ferriols IV
    Augusto J. Ferriols IV
    5,228 Points

    Workspace associated with Element States Pseudo-Classes not Launching, and a box pops up that it's "Not Authorized".

    Posted May 27, 2016 11:59pm by Augusto J. Ferriols IV
    Augusto J. Ferriols IV
    5,228 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    2 Answers

  • Emmanuel Rojas
    Emmanuel Rojas
    6,994 Points

    How Can I add any color to the check box after it is checked

    Posted March 15, 2016 3:37pm by Emmanuel Rojas
    Emmanuel Rojas
    6,994 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Shazad Kazi
    Shazad Kazi
    10,758 Points

    Inputbox not turning aqua, upon focus?

    Posted September 17, 2015 11:54am by Shazad Kazi
    Shazad Kazi
    10,758 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    3 Answers

  • Aaron Coursolle
    Aaron Coursolle
    18,014 Points

    Pseudo Elements and Element States Pseudo Classes?

    Posted September 10, 2015 2:45pm by Aaron Coursolle
    Aaron Coursolle
    18,014 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • TJ Bear
    PLUS
    TJ Bear
    Courses Plus Student 11,869 Points

    Why doesn't "input[type="checkbox"]:checked + label" in this video worth without "+ label"?

    Posted August 21, 2015 6:43pm by TJ Bear
    TJ Bear
    Courses Plus Student 11,869 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Diego Murray
    Diego Murray
    2,515 Points

    When is a disabled attribute useful?

    Posted August 10, 2015 8:13pm by Diego Murray
    Diego Murray
    2,515 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Huy Tran
    Huy Tran
    1,994 Points

    I don't recall learning about input, focus, textarea in the past videos

    Posted July 24, 2015 3:35am by Huy Tran
    Huy Tran
    1,994 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    2 Answers

  • James Delaplain
    James Delaplain
    5,873 Points

    Why is his check box all

    Posted July 22, 2015 6:56am by James Delaplain
    James Delaplain
    5,873 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    1 Answer

  • Dekin O'Sullivan
    Dekin O'Sullivan
    10,749 Points

    The teacher in this video claims that back in css basics course we covered user action selectors. Where?

    Posted June 28, 2015 2:42pm by Dekin O'Sullivan
    Dekin O'Sullivan
    10,749 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    3 Answers

  • Argzon Haziraj
    PLUS
    Argzon Haziraj
    Courses Plus Student 14,994 Points

    Why do we need to add disabled to input fields ?

    Posted February 22, 2015 4:37am by Argzon Haziraj
    Argzon Haziraj
    Courses Plus Student 14,994 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes

    3 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.