Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Moises Miguel
Moises Miguel
5,028 Points

It does not print the contact information

http://port-80-fkquunpfro.treehouse-app.com/

It says undefined when i run it, how do i fix this so it shows the contact information

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Unfortunately, the link you've provided above is private and works only for you To share your workspace with us, you should make a "snapshot" of the workspace and link it here. This can be done using the camera icon on the top right side of your workspace. Also, don't forget to link any relevant video so that we can easily reference the project you're currently working on! :sparkles:

Jorge Emilio Domínguez Nájera
Jorge Emilio Domínguez Nájera
16,713 Points

Hi Moisés. I have checked your exercise and I thing there is a little problem:

In this case you must be aware that in your functions you are using console.log which means that the information will be displayed at the console.

Additionally at the end you wrote "console.log('steve);'" without calling any function.

If you write "search('steve');" you will get at the console the description of the object with the name "steve". So try this solution at the end and tell me if is what you are looking for.

1 Answer

Moises Miguel
Moises Miguel
5,028 Points

Opps i didn't realize that, This link should work tho

https://w.trhou.se/0ssz1adqug