4 Your "if" statement - Conflicting information


Just sharing because the hint section on this one shows you how to do something that is contrary to what the instructions actually require you to do, which is confusing! This is for "4: Your "if" statement:"

" Instructions: Add your if statement in the body of your for loop. It should check to see whether the current letter is equal to the first letter of your name. (Capitalization counts!)"

The validation however requires you use the var text instead of the var myName in order to pass.


Please show us the code that would not pass, as well as a link to the exercise page you are on. Thank you.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.