I don't know what's wrong with my code


I can't tell what I did wrong here.I tried playing around with my existing code and looked at the "What you'll be building" lesson, but I just can't get it working. Could I get some help please?

my code:
/*jshint multistr:true */
var text = "fajouperingkjagtn James JlkNifujskalgjn";
var myName = "James";
var hits = [];
for (var i = 0; i < text.length; i++); {
if (text[i] === "J") {
for(var j = i; j < (myName.length + i); j++) {



You will have to change your

for (var i = 0; i < text.length; i++); {


for (var i = 0; i < text.length; i++) {

For Javascript a semi-colon-; is an End-of-Statement indicator,
and Javascript will NOT interprete the rest of the statement-structure.