console.log for first part of first conditional.

console.log for first part of first conditional.