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! While you're at it, check out some resources Treehouse students have shared here.

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


jQuery 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>
    var isValid = $("input").validEmail(); 
    $("textarea").validEmail({on:keyup, success:function(){}, failure: function(){}});

Bummer! You didn't call 'validEmail' on the selected textarea

1 Answer

Randy Wang
Randy Wang
9,291 Points

Could be that you are missing the quotations marks around the "keyup" action

That was exactly the problem! Thank you!