Error finding my name on last tutorial


#1

Log it! exercise, I seem to pass the tutorial, but it can't seem to find my name.

"It says "Your name was not found," but everything looks correct. Could someone help me spot the error by any chance


var myName = "Kevin"

var text = "Hello Kevin sakldjsakldj klsadjklsalk sadklasd kljaskld Kevin sakdljsakld lkjKevin Kevin" 

var hits = [];


for (var i = 0; i < text.length; i++) {
    
    if (text[i] === "k") {
        
        for(var j = i; j < (myName.length + i); j++) {
        
            hits.push(text[j]);
        }
    }  
}
    if (hits.length === 0)
    {
        console.log("Your name wasn't found!")
    }
        else
        {
            console.log(hits)
        }


#2

Found out the letter was case sensitive, so it didn't allow it to search for lowercase K's


#3