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

HTML Build an Interactive Website jQuery Plugins Simple Email Validation Plugin

bug?

I passed this in for the seccond task: $("textarea").validEmail({on:"keyup", success: function(){}, faliure: function(){}});

and it's still giving me an error. I don't know what to do.

1 Answer

You need to do three things for this challenge.

  1. Use the .validEmail plugin (this challenge does not give us arguments we need to enter)
  2. Use the plugin on the input
  3. store everything in a variable called isValid

Your completed code should look something like this:

var variableName = $("itemPluginIsUsedOn").pluginName();

but isn't that what I did?