I Press "Save & Submit," It Tells Me to Start Next Lesson, But Logs the Wrong Thing


That's a screenshot of my predicament. I'm fairly certain it's not supposed to log "undefined." If someone could tell me what I did wrong, that'd be great.


In your 2nd FOR-loop you will have to change your condition


remove the ELSE statement structure....!!!

On code-line 15
you could use a
console.log( hits )