Search Name for Your Text 5. Your second for loop


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

/*jshint multistr:true */
var text = “Yo, Yo Yo!
WHAT’S UP MA HOMIE BRO! Costa, Lemme tell ya somtin’
i’ma hot air b’loon dat’ll go to COSTA rica! Not Kosta
Rica… COSTA rica!”;

var myName = “Costa”;
var hits = ;
for(var i = 0; i < myName.length; i++){

}
if (text[i] === ‘C’) {
for(var j = i; i < myName.length; i++){

}
}

Hello everyone, I’m completely lost on what to do here on this step.

<do not remove the three backticks above>

#2

Have you looked at other explanations? I wrote several (link1, link2) and i am sure there are more. Writing an explanation for this from scratch is a extremely time consuming thing to do