Code Please


Can someone please give me a code that works.


@neeliyer Can I see your code please?


I haven't really paid much attention to this lesson. I just want to go to the next one.

var text='Hey, how are you doing? My name is Neel.';
var myName = 'Neel';
var hits = [];
for (var i = 0; i < text.length; i++) {
if(text[i]==='N') {
for (var j=i; j
if (hits.length === 0)
console.log("Your name wasn't found!");



@neeliyer That's not that good of an idea, the lessons are the way they are for a reason.

Your problem is for (var j=i; j, you need to complete the for loop.