Difficulties with adding the text with the name


#1



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

Kindly help me out, where the problem is actually, facing difficulties with adding the text with the name; kindly reply with description of alternative; thanx

Oops, try again. There was a problem with your syntax.


Continuing the discussion from I cannot get this right...please help:


#2

It would be nice to see your code :slight_smile:


#3

for (var i=0;iconsole.log[i];

if(text[i]==="H")
{

hits.push(text[i]);

}
}


#4

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

THIS IS THE code for above problem