✨ 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
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"
    • Close
  • Sam Weeks
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sam Weeks
    Front End Web Development Techdegree Student 16,699 Points

    Substring selectors not working to load icons...

    Posted on Nov 27, 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
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Jack Jones
    Jack Jones
    7,246 Points

    This is super handy!

    Posted on Apr 17, 2019 by Jack Jones
    Jack Jones
    7,246 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Yoel Dovid Cohen
    Yoel Dovid Cohen
    13,405 Points

    My icons are not working

    Posted on Dec 26, 2018 by Yoel Dovid Cohen
    Yoel Dovid Cohen
    13,405 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Zijun Liao
    Zijun Liao
    13,409 Points

    Padding on the background vs padding on the text

    Posted on Oct 6, 2018 by Zijun Liao
    Zijun Liao
    13,409 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Peter Retvari
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Peter Retvari
    Full Stack JavaScript Techdegree Student 8,392 Points

    Don't ever use space after element when using pseudo classes

    Posted on Aug 8, 2018 by Peter Retvari
    .a{fill-rule:evenodd;}techdegree
    Peter Retvari
    Full Stack JavaScript Techdegree Student 8,392 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Nicholas Wallen
    Nicholas Wallen
    12,278 Points

    Dumb Question: Why does he repeat the background size value twice?

    Posted on May 9, 2018 by Nicholas Wallen
    Nicholas Wallen
    12,278 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • Philip Kroupoderov
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Philip Kroupoderov
    Front End Web Development Techdegree Graduate 21,641 Points

    Does anyone know how to place the svg icons after the links not before them?

    Posted on Feb 14, 2018 by Philip Kroupoderov
    .a{fill-rule:evenodd;}techdegree seal-36
    Philip Kroupoderov
    Front End Web Development Techdegree Graduate 21,641 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Devin Kelly
    Devin Kelly
    7,343 Points

    Icons won't Display! Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    Posted on Nov 10, 2017 by Devin Kelly
    Devin Kelly
    7,343 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • 3lg3
    3lg3
    13,631 Points

    background-image: url('') question

    Posted on Nov 10, 2017 by 3lg3
    3lg3
    13,631 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Background-size

    Posted on Oct 28, 2017 by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • brevans26
    brevans26
    15,198 Points

    Hooks to the HTML

    Posted on Oct 19, 2017 by brevans26
    brevans26
    15,198 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Angel Vickery
    Angel Vickery
    3,585 Points

    my images will not pop up.

    Posted on Oct 17, 2017 by Angel Vickery
    Angel Vickery
    3,585 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • Barry Allen
    Barry Allen
    514 Points

    What's wrong with this code? I'm using the background: url('""); to display icons to a list but it' not working.

    Posted on Sep 22, 2017 by Barry Allen
    Barry Allen
    514 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Learning coding
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Learning coding
    Front End Web Development Techdegree Student 9,937 Points

    Ends with substring puts icon at the beginning?

    Posted on Apr 13, 2017 by Learning coding
    .a{fill-rule:evenodd;}techdegree
    Learning coding
    Front End Web Development Techdegree Student 9,937 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • Learning coding
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Learning coding
    Front End Web Development Techdegree Student 9,937 Points

    Why not change the color of the link with ul li?

    Posted on Apr 13, 2017 by Learning coding
    .a{fill-rule:evenodd;}techdegree
    Learning coding
    Front End Web Development Techdegree Student 9,937 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Matthew Keys
    Matthew Keys
    1,922 Points

    How to add multiple substring attribute selectors

    Posted on Mar 22, 2017 by Matthew Keys
    Matthew Keys
    1,922 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Vincentius Ronalto
    Vincentius Ronalto
    4,432 Points

    I'm just curious..

    Posted on Mar 2, 2017 by Vincentius Ronalto
    Vincentius Ronalto
    4,432 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • Kevin Baxter
    Kevin Baxter
    5,599 Points

    Question about Begins With

    Posted on Jul 18, 2016 by Kevin Baxter
    Kevin Baxter
    5,599 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Malcolm Stretten
    Malcolm Stretten
    3,814 Points

    another problem with 'begins with'

    Posted on Jun 24, 2016 by Malcolm Stretten
    Malcolm Stretten
    3,814 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Sonja Tomcic
    Sonja Tomcic
    6,590 Points

    The site doesn't open workspace

    Posted on Jun 1, 2016 by Sonja Tomcic
    Sonja Tomcic
    6,590 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • Mukund Narasimhan
    PLUS
    Mukund Narasimhan
    Courses Plus Student 9,441 Points

    cannot find the characters how can we use background image property for getting the character beside it

    Posted on Mar 7, 2016 by Mukund Narasimhan
    Mukund Narasimhan
    Courses Plus Student 9,441 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    0 Answers

  • Lindsay Barrett
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Lindsay Barrett
    Python Web Development Techdegree Student 7,357 Points

    Carrot Character Can't find!

    Posted on Dec 3, 2015 by Lindsay Barrett
    .a{fill-rule:evenodd;}techdegree
    Lindsay Barrett
    Python Web Development Techdegree Student 7,357 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • stian wilks johansen
    stian wilks johansen
    11,053 Points

    can't get the icons to show

    Posted on Oct 21, 2015 by stian wilks johansen
    stian wilks johansen
    11,053 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    3 Answers

  • Daylin Jones
    Daylin Jones
    5,981 Points

    Substring Matching Attribute Selectors: Before and After

    Posted on Sep 28, 2015 by Daylin Jones
    Daylin Jones
    5,981 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • Reid Wahl
    Reid Wahl
    2,989 Points

    Combine "begins with" and "ends with" attribute selectors?

    Posted on Aug 30, 2015 by Reid Wahl
    Reid Wahl
    2,989 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

  • James Head
    James Head
    18,872 Points

    Position of the icon

    Posted on Jun 7, 2015 by James Head
    James Head
    18,872 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    2 Answers

  • David DeWeaver
    David DeWeaver
    3,701 Points

    Icons won't display next to file links

    Posted on May 13, 2015 by David DeWeaver
    David DeWeaver
    3,701 Points
    • CSS
    • CSS Selectors
    • Going Further with Attribute Selectors and Pseudo-Classes
    • Substring Matching Attribute Selectors - "Begins With" and "Ends With"

    1 Answer

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.