• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Paul Mamac
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Paul Mamac
    Full Stack JavaScript Techdegree Student 2,622 Points

    I am targeting the <a> with a desc function but, it's not working.

    Posted January 20, 2023 8:44pm by Paul Mamac
    .a{fill-rule:evenodd;}techdegree
    Paul Mamac
    Full Stack JavaScript Techdegree Student 2,622 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    What's the benefit of using a custom data-* attribute to select an element with JavaScript?

    Posted March 28, 2021 3:47am by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Ethan Halfhide
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Ethan Halfhide
    Full Stack JavaScript Techdegree Student 3,886 Points

    What is the correct choice?

    Posted October 15, 2020 3:26am by Ethan Halfhide
    .a{fill-rule:evenodd;}techdegree
    Ethan Halfhide
    Full Stack JavaScript Techdegree Student 3,886 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Hector Romero
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hector Romero
    Full Stack JavaScript Techdegree Student 2,810 Points

    How to access data attribute with queryselector() on javascript correctly

    Posted September 17, 2020 2:04am by Hector Romero
    .a{fill-rule:evenodd;}techdegree
    Hector Romero
    Full Stack JavaScript Techdegree Student 2,810 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Michal Majewski
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Michal Majewski
    Full Stack JavaScript Techdegree Graduate 18,941 Points

    Just got stuck here, cant find the right syntax anywhere for this peace of code.

    Posted February 21, 2020 5:34pm by Michal Majewski
    .a{fill-rule:evenodd;}techdegree seal-36
    Michal Majewski
    Full Stack JavaScript Techdegree Graduate 18,941 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Haardik Gupta
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Haardik Gupta
    Full Stack JavaScript Techdegree Student 5,459 Points

    selectors in js

    Posted November 16, 2019 11:32pm by Haardik Gupta
    .a{fill-rule:evenodd;}techdegree
    Haardik Gupta
    Full Stack JavaScript Techdegree Student 5,459 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Christopher Schillinger
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Christopher Schillinger
    Full Stack JavaScript Techdegree Student 8,595 Points

    Target all <a> elements inside <nav>

    Posted November 5, 2019 4:08am by Christopher Schillinger
    .a{fill-rule:evenodd;}techdegree
    Christopher Schillinger
    Full Stack JavaScript Techdegree Student 8,595 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    4 Answers

  • Christopher Schillinger
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Christopher Schillinger
    Full Stack JavaScript Techdegree Student 8,595 Points

    What is the answer? And why

    Posted November 5, 2019 4:07am by Christopher Schillinger
    .a{fill-rule:evenodd;}techdegree
    Christopher Schillinger
    Full Stack JavaScript Techdegree Student 8,595 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • atsuki138
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    atsuki138
    Full Stack JavaScript Techdegree Student 5,635 Points

    What is the point of this question? I cannot get what I should write.

    Posted July 18, 2019 2:48pm by atsuki138
    .a{fill-rule:evenodd;}techdegree
    atsuki138
    Full Stack JavaScript Techdegree Student 5,635 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • SHARATH NAIR
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    SHARATH NAIR
    Full Stack JavaScript Techdegree Student 3,195 Points

    Hii I am not getting the right answer to this quiz question. Please help

    Posted June 10, 2019 11:20pm by SHARATH NAIR
    .a{fill-rule:evenodd;}techdegree
    SHARATH NAIR
    Full Stack JavaScript Techdegree Student 3,195 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Toni Hammond
    Toni Hammond
    13,730 Points

    https://teamtreehouse.com/library/css-selectors-quickstart/the-role-of-selectors-in-javascript/selectors-in-javascript-r

    Posted April 17, 2019 5:17pm by Toni Hammond
    Toni Hammond
    13,730 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    3 Answers

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

    Complete the JavaScript code below by writing a selector that targets all <a> elements inside the <nav> element:

    Posted March 28, 2019 6:29pm by Pavani Chilakala
    .a{fill-rule:evenodd;}techdegree seal-36
    Pavani Chilakala
    Full Stack JavaScript Techdegree Graduate 17,946 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    1 Answer

  • Kyle Zunino
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    Kyle Zunino
    Full Stack JavaScript Techdegree Graduate 23,214 Points

    How do I use a JavaScript code by writing a selector that targets all <a> elements inside the <nav> element.

    Posted March 14, 2019 5:08pm by Kyle Zunino
    .a{fill-rule:evenodd;}techdegree seal-36
    Kyle Zunino
    Full Stack JavaScript Techdegree Graduate 23,214 Points
    • JavaScript
    • CSS Selectors Quickstart
    • The Role of Selectors in JavaScript
    • Selectors in JavaScript Review

    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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.