Search Text for Your Name - Log it!


#1

What is wrong with this code? It lets me go ahead but it's not printing the right thing.


#2

your if condition is also true for I of I am, so this is also pushed into your hits array

write i am with all lowercase letters


#3

Ok, now it makes sense! Thanks!


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.