JavaScript Node.js Basics 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
MOD
Jennifer Nordell
Treehouse Moderator

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
Jennifer Nordell
Treehouse Moderator

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.