5. Your Second "for" Loop: Search Text for Your Name


#1

Can anyone tell me what Im doing wrong here?


#2

@gilbertkacy90,

for ([initialization]; [condition]; [final-expression]) {
      statement
}

In both of your FOR-loop's condition's you are using the greater-than > operator.
Here you should be using the less-than < operator....

google search
== the Book ==
javascript for loop site:developer.mozilla.org
Please read
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for