Unexpected Token { - Please Help


I've been looking at other posts and for the life of me I can't see what I'm doing wrong! It keep coming up with "Unexpected Token {"

This is what I have down:

var text = "Hello my name is Felipe. You should be more like Felipe.";
var myName = "Felipe";
var hits = [];

for (var i = 0; i < text.length; i++) {
if (text[i] === 'F') {
for (j = i; j < (myName.length + i); j++ {


You have your opening curly bracket for the for loop inside the parameters for the for loop.. It has be after the parameter


you have 1 extra curly bracket.