Profile Lookup Relevant Challenges

I took a coding break to work on school for about a month and now I’m all lost. I’ve been trying to figure out profile lookup. I’ve read the other posts and I’m still stuck. Could anyone help me figure out which previous challenges would be helpful to review? This will be my second time going through the Basic Javascript section and I really don’t want to do it for a third time but I have no clue how people have figured out how to use the i =0 method versus if/else.

Thank you so much. I’ll look at everything you’ve suggested.