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


Mohammed Elagouz
Mohammed Elagouz
2,162 Points

jquery challenge - checking values 3-3

i keep getting Null as result !

 function isValidEmail(email) {
  return email.indexOf('@') != -1;

var $required = $(".required");
function requiredValues() {
    var meh = new Array();
  return meh;

function containsBlanks(){

  if(meh.lenght() === 0 ) true;
  else false;  };

1 Answer

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

meh is defined in another function and a method being called on meh is spelt incorrectly. Also that method is not a method it's a property so you can drop the ().