Your second "for" loop


var text=‘Hey, how are you doing? My name is Elena.’;
var myName = ‘Elena’;
var hits = ;
for (var i = 0; i < text.length; i++) {
if(text[i]===‘E’) {

var text= ‘Hey, whats up? My name is John.’;
var myName = ‘John’;
var hits ;
for(var i = 0; i < text.length; i++) {
The code says theres a problem with the syntax. i have no idea what to do


Best to start over. Study the lesson text and instructions closely, and review lesson one example for comparison.