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

🤑 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

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

  • 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
    • Showing results for:
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Element States Pseudo-Classes
    • Close
  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    :checked

    Posted on Oct 22, 2021 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 on Jan 19, 2020 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 on Nov 28, 2019 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 on Dec 10, 2018 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 on Nov 10, 2018 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 on Jul 25, 2018 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 on Jun 7, 2018 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 on Nov 10, 2017 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 on Oct 28, 2017 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 on May 2, 2017 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 on Oct 17, 2016 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 on Jul 17, 2016 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 on May 27, 2016 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 on Mar 15, 2016 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 on Sep 17, 2015 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 on Sep 10, 2015 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 on Aug 21, 2015 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 on Aug 10, 2015 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 on Jul 24, 2015 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 on Jul 22, 2015 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 on Jun 28, 2015 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 on Feb 22, 2015 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.