πŸ€‘ Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! πŸš€ New videos dropping every weekβ€”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
  • 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 June 20, 2021 4:56am 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 January 4, 2021 8:57pm 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 November 12, 2019 2:45pm 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 September 6, 2019 7:49pm 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 July 22, 2019 12:10am 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 July 6, 2019 3:46am 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 June 29, 2019 9:11am 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 May 13, 2019 10:37am 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 April 25, 2019 5:22pm 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 April 23, 2019 7:04am 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 April 5, 2019 6:19pm 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 March 17, 2019 11:03am 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 March 1, 2019 7:21pm 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 February 3, 2019 1:45pm 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 November 25, 2018 12:22pm 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 November 21, 2018 7:40pm 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 October 16, 2018 2:43pm 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 June 19, 2018 2:03am 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 May 23, 2018 7:47am 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 April 20, 2018 8:57am 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 February 23, 2018 8:37pm 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 February 14, 2018 4:15am 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 January 21, 2018 11:25pm 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 December 24, 2017 4:43pm 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 December 24, 2017 9:26am 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.