Search text for your name


#1


https://www.codecademy.com/courses/javascript-beginner-en-XEDZA/0/4?curriculum_id=506324b3a7dffd00020bf661#

there was a problem with the syntax

var text = ("biju biju biju");
var myName = ("biju");
var hits = [];

for (var i =0; i<text.length; i++){
   if(text[i] === 'b')
};

please help me here...not able to move


#2

after a if statement you will need curly brackets:

if (condition){
  
}

your curly brackets ({}) are missing,