Skip to content

Instead of targeting element 6 all the elements are getting targeted.  #2573

@daksh844

Description

@daksh844

Hi using the jQuery function the challenge is to change the element 6 color to Green which would be achieved by this code:
$("#right-well").children("#target6").css("color", "green");
but this above mentioned code isn't working and its accepting this below code instead-
$("#right-well").children().css("color", "green");

I'm also including the screenshot for your reference:
image

Challenge http://freecodecamp.com/challenges/waypoint-target-the-children-of-an-element-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions