
Brian E. answered 03/29/19
Senior Full Stack JavaScript Developer (Node & React)
To fill in your if: mydogs[i].length % 2 === 0
mydogs[i] - gives you the dog at the current index
.length - gives you the length of the dog's name
% 2 - in modulus, the result will be the remainder of the division problem.
=== 0 - if the remainder is 0, the length of the name is even