# Need some help with the Profile Lookup

**URL:** <https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703>\
**Category:** JavaScript Bootcamp\
**Created:** [January 21, 2022, 6:57pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703 "2022-01-21T18:57:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacobra\_the\_Great](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/jacobra_the_great/32/3612_2.png) [@Jacobra\_the\_Great](https://group.classcentral.com/u/Jacobra_the_Great)\
**Post date:** [January 21, 2022, 6:57pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/1 "2022-01-21T18:57:56Z")

</div>

Hello fellow Bootcampers!

I’m at a loss with the Profile Lookup project in the Basic JavaScript section. Mostly, I have no idea where to start! JavaScript boggles my brain. I’m a wiz with HTML and CSS, but JS…argh…

So, judging by the proximity of this lesson to the recursion lesson (_shivers_) and the Do…While Loops section, I’m assuming that this task may benefit from employing those techniques. Am I on the right track? Should I just dive right in and make mistakes?

If anybody smarter at JS could drop me a few hints without giving away the solution, I would greatly appreciate it. Thank you. You all rock!

---

<div class="post-metadata">

**Author:** ![martinignacio2696147](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/martinignacio2696147/32/3687_2.png) [@martinignacio2696147](https://group.classcentral.com/u/martinignacio2696147)\
**Post date:** [January 21, 2022, 7:23pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/2 "2022-01-21T19:23:43Z")

</div>

Hi, i’m stuck on the same Profile Lookup, so I googled and found this link:

> **[freeCodeCamp Challenge Guide: Profile Lookup](https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-profile-lookup/18259)**
>
> Profile Lookup Problem Explanation Change the code below // Only change code below this line and up to // Only change code above this line. Ensure that you are editing the inside of the lookUpProfile() function. This function includes two...

---

<div class="post-metadata">

**Author:** ![Jacobra\_the\_Great](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/jacobra_the_great/32/3612_2.png) [@Jacobra\_the\_Great](https://group.classcentral.com/u/Jacobra_the_Great)\
**Post date:** [January 21, 2022, 7:29pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/3 "2022-01-21T19:29:51Z")

</div>

Thanks! I’m looking at the same thing right now. I think I’m starting to figure it out. It keeps telling me ‘undefined’, but I don’t know what is undefined. Lol

I’m sure we’ll figure it out.

---

<div class="post-metadata">

**Author:** ![carlost2672543](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/carlost2672543/32/4162_2.png) [@carlost2672543](https://group.classcentral.com/u/carlost2672543)\
**Post date:** [January 21, 2022, 7:48pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/4 "2022-01-21T19:48:00Z")

</div>

Hi @Jacobra_the_Great

Are you using bracking notation?

Its just a for loop with that conditions and accesing with bracket notation. If you are stuck just keep going or take a break, it not worthy after 10 min keep trying. Its better do something relaxing, like walk, meditation, even wash the dishes, resting your brain, and back to the exercise later or next day.  
Happy coding!!

---

<div class="post-metadata">

**Author:** ![Jacobra\_the\_Great](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/jacobra_the_great/32/3612_2.png) [@Jacobra\_the\_Great](https://group.classcentral.com/u/Jacobra_the_Great)\
**Post date:** [January 21, 2022, 9:01pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/5 "2022-01-21T21:01:06Z")

</div>

Thanks! I took a shower and ate some lunch. Now back to work!

---

<div class="post-metadata">

**Author:** ![sarareveles2594628](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/sarareveles2594628/32/1054_2.png) [@sarareveles2594628](https://group.classcentral.com/u/sarareveles2594628)\
**Post date:** [January 22, 2022, 7:45am UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/6 "2022-01-22T07:45:52Z")

</div>

How is it going? I’m not smarter at JS but I would like to help, if I can.

---

<div class="post-metadata">

**Author:** ![Jacobra\_the\_Great](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/jacobra_the_great/32/3612_2.png) [@Jacobra\_the\_Great](https://group.classcentral.com/u/Jacobra_the_Great)\
**Post date:** [January 22, 2022, 8:41pm UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/7 "2022-01-22T20:41:17Z")

</div>

It didn’t go too well. Everything worked fine until I added an else statement for the “No such contact” string. Then that was all it said, even when the parameters were true.

I wound up watching the video in the help section. I never would have guessed the solution, but I was glad I had at least figured out most of it.

Thank you for offering to help! 🙂

---

<div class="post-metadata">

**Author:** ![johannesvansc2679278](https://sea2.discourse-cdn.com/flex016/user_avatar/group.classcentral.com/johannesvansc2679278/32/2989_2.png) [@johannesvansc2679278](https://group.classcentral.com/u/johannesvansc2679278)\
**Post date:** [January 23, 2022, 10:20am UTC](https://group.classcentral.com/t/need-some-help-with-the-profile-lookup/22703/8 "2022-01-23T10:20:12Z")

</div>

undefined means you are using a variable that you have not defined
