Exercise not validating
See original GitHub issueChallenge http://www.freecodecamp.com/challenges/waypoint-target-a-specific-child-of-an-element-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
The exercise seems broken:
Objectives:
- The second element in each of your well elements should bounce.
- You should use the :nth-child() function to modify these elements.
- Only use jQuery to add these classes to the element.
<script>
$(document).ready(function() {
$(".well:nth-child(2)").addClass("animated bounce");
});
</script>
<!-- You shouldn't need to modify code below this line -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
I have also tried the below:
<script>
$(document).ready(function() {
$("#left-well:nth-child(2)").addClass("animated bounce");
$("#right-well:nth-child(2)").addClass("animated bounce");
});
</script>
Neither validates the first objective of the exercise.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Input Validation Exercise Help - OutSystems
Hi. I believe its not the case. There are 2 input fields Date of Birth and Date of Death. I want a validation...
Read more >5 Reasons You Aren't Seeing Results from Working Out - Precor
1. You Aren't Working Hard Enough. Just because you go to the gym regularly doesn't mean you're always getting a great workout.
Read more >Signs you're doing an exercise wrong - Simple Solutions Fitness
1. You're not feeling it where you should be · 2. You're in Pain During or After an Exercise · 3. You're Not...
Read more >8 Reasons Why You're Not Seeing Results From Working Out
Not seeing results from working out? Here are some of the common reasons why people find themselves making zero progress or even regressing....
Read more >10 Reasons You Don't Exercise - Verywell Fit
If you don't regularly exercise and are hoping to change course, here are some potential reasons you may not be exercising.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorted thanks, there must be a space before the
:
.@pd1309 Please use the HelpJavaScript chat room for getting challenge related help.
Happy Coding.