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 Node.js Basics 2017 Create a Command Line Weather Application Project Overview

TzeYang Chew
TzeYang Chew
12,039 Points

Hi can anyone tell me why use node app.js 90210 to log out in console.what is the meaning of 90210 here?

Hi can anyone tell me why use node app.js 90210 to log out in console.what is the meaning of 90210 here?

1 Answer

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

Hi there! 90210 is the zip code for Beverly Hills. Every place in the US has a "zip code" as part of their address. I believe Andrew used this particular zip code as it is so commonly known. There was a long running TV-series by the name of Beverly Hills 90210 which means that many Americans have at least heard that particular zip code before and he needed to pick one, so it became the best choice.

Hope this helps! :sparkles:

TzeYang Chew
TzeYang Chew
12,039 Points

Hi thanks for the repy ..but i'm still confuse,why did he has to set a name for this project?

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

I'm guessing by "name" you mean the 90210. To be clear, he could have picked any valid zip code. He has to have some way to tell the app which weather to get. The weather where you are may or may not be like the weather where I am. This isn't linked up to any GPS on any device we're holding right now. And furthermore, we may want to see the weather of a city we're not currently in. By specifying the zip code, we say want to see the weather at this place.