Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

eyeloveotters
15,097 PointsjQuery Plugins Code Challenge Task 3/4
I'm getting the following error when I use the following code in challenge 3/4. The problem is that nothing has changed that invalidates the variable in step 2.
Can someone please let me know where I'm going wrong?
Bummer! You didn't call 'validEmail' on the selected textarea
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="validEmail.js"></script>
<script>
var isValid = $("input").validEmail();
$("textarea").validEmail({on:keyup, success:function(){}, failure: function(){}});
</script>
Bummer! You didn't call 'validEmail' on the selected textarea
1 Answer

Randy Wang
9,291 PointsCould be that you are missing the quotations marks around the "keyup" action
eyeloveotters
15,097 Pointseyeloveotters
15,097 PointsThat was exactly the problem! Thank you!