✨ 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:
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery
    • Close
  • Jeremy Freedman
    Jeremy Freedman
    2,955 Points

    This exercise is WRONG: https://teamtreehouse.com/library/jquery-basics-2/understanding-jquery-events-and-dom-traversal/

    Posted on Jun 20, 2021 by Jeremy Freedman
    Jeremy Freedman
    2,955 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Mathew Cintron
    Mathew Cintron
    8,036 Points

    what am I missing here ??

    Posted on Jan 4, 2021 by Mathew Cintron
    Mathew Cintron
    8,036 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Gavin Eyquem
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Gavin Eyquem
    Front End Web Development Techdegree Student 23,029 Points

    Going wrong somewhere with the .prev() method in jQuery.

    Posted on Nov 12, 2019 by Gavin Eyquem
    .a{fill-rule:evenodd;}techdegree
    Gavin Eyquem
    Front End Web Development Techdegree Student 23,029 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Sundar Maharjan
    Sundar Maharjan
    6,740 Points

    .prev()

    Posted on Sep 6, 2019 by Sundar Maharjan
    Sundar Maharjan
    6,740 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Raedawn Long
    Raedawn Long
    6,943 Points

    Hello, Any suggestions on this question with use of transverse method.

    Posted on Jul 22, 2019 by Raedawn Long
    Raedawn Long
    6,943 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Bashir Orfani
    Bashir Orfani
    13,170 Points

    Using jQuery, select all of the list items on the page. Then, using the .eq() method, select Wade Christensen from the l

    Posted on Jul 6, 2019 by Bashir Orfani
    Bashir Orfani
    13,170 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Lynn Collins
    Lynn Collins
    10,080 Points

    Tried everything

    Posted on Jun 29, 2019 by Lynn Collins
    Lynn Collins
    10,080 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Lauren Sithole Gadyadza
    Lauren Sithole Gadyadza
    6,659 Points

    traversal challenge

    Posted on May 13, 2019 by Lauren Sithole Gadyadza
    Lauren Sithole Gadyadza
    6,659 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Obe Juarez
    Obe Juarez
    6,357 Points

    What am i doing wrong?

    Posted on Apr 25, 2019 by Obe Juarez
    Obe Juarez
    6,357 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Dylan Basikoro
    Dylan Basikoro
    6,624 Points

    how can i solve this?

    Posted on Apr 23, 2019 by Dylan Basikoro
    Dylan Basikoro
    6,624 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    0 Answers

  • Guy Lachapelle
    Guy Lachapelle
    6,377 Points

    I'm stuck.. I can't find the answer to this exercise.

    Posted on Apr 5, 2019 by Guy Lachapelle
    Guy Lachapelle
    6,377 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Fabian Pijpers
    PLUS
    Fabian Pijpers
    Courses Plus Student 41,372 Points

    I have a problem with jquery challenge 2 of 2 '$('li').eq(2).prev(-2);'

    Posted on Mar 17, 2019 by Fabian Pijpers
    Fabian Pijpers
    Courses Plus Student 41,372 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Kim Dallas
    Kim Dallas
    11,461 Points

    what am I missing?

    Posted on Mar 1, 2019 by Kim Dallas
    Kim Dallas
    11,461 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Kenneth Dubroff
    Kenneth Dubroff
    10,612 Points

    $(‘li’).eq(-2) Unexpected AST node type encountered initializing the jQueryMethodCall.arguments property: UnaryExpressio

    Posted on Feb 3, 2019 by Kenneth Dubroff
    Kenneth Dubroff
    10,612 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Pawel Ellwart
    Pawel Ellwart
    12,993 Points

    Using the .eq() method, select Wade Christensen from the list of students.

    Posted on Nov 25, 2018 by Pawel Ellwart
    Pawel Ellwart
    12,993 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    5 Answers

  • Rhonda Goolsby
    Rhonda Goolsby
    6,992 Points

    Did you make a call to the "eq" method on the jQuery with a selector of "li"? I keep getting this error msg. Why?

    Posted on Nov 21, 2018 by Rhonda Goolsby
    Rhonda Goolsby
    6,992 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Minh Le
    PLUS
    Minh Le
    Courses Plus Student 4,264 Points

    Something is wrong with Quiz. I got the correct answer, but it kept saying it's wrong.

    Posted on Oct 16, 2018 by Minh Le
    Minh Le
    Courses Plus Student 4,264 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • gladys padilla
    gladys padilla
    7,909 Points

    Can someone please help?

    Posted on Jun 19, 2018 by gladys padilla
    gladys padilla
    7,909 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Abson Chifodya
    Abson Chifodya
    11,817 Points

    You've just learned about the next() and prev() methods. Use one of them to traverse from Wade Christensen to James McAv

    Posted on May 23, 2018 by Abson Chifodya
    Abson Chifodya
    11,817 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    2 Answers

  • Hilary Katsande
    Hilary Katsande
    9,045 Points

    Whats wrong

    Posted on Apr 20, 2018 by Hilary Katsande
    Hilary Katsande
    9,045 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • zerrick pace
    zerrick pace
    6,405 Points

    What do I need to change? or What am I missing?

    Posted on Feb 23, 2018 by zerrick pace
    zerrick pace
    6,405 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Elizabeth Naves
    Elizabeth Naves
    39,088 Points

    It looks like task one is no longer passing.

    Posted on Feb 14, 2018 by Elizabeth Naves
    Elizabeth Naves
    39,088 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • danielchristie
    danielchristie
    21,505 Points

    What's wrong with my code, it performs as intended?

    Posted on Jan 21, 2018 by danielchristie
    danielchristie
    21,505 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Simone Chinaglia
    PLUS
    Simone Chinaglia
    Courses Plus Student 2,856 Points

    Why i can complete the challenge?

    Posted on Dec 24, 2017 by Simone Chinaglia
    Simone Chinaglia
    Courses Plus Student 2,856 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

    1 Answer

  • Clayton Batchelor
    Clayton Batchelor
    5,817 Points

    $('li).eq(2).prev(2);?

    Posted on Dec 24, 2017 by Clayton Batchelor
    Clayton Batchelor
    5,817 Points
    • JavaScript
    • jQuery Basics
    • Understanding jQuery Events and DOM Traversal
    • DOM Traversal with jQuery

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