isischristopher / travel-diary

0 stars 0 forks source link

Places Data #2

Open isischristopher opened 4 years ago

isischristopher commented 4 years ago

User Story

Developer is to create an array of objects called places, each consisting of a title, image and description.

AC

WHEN the objects array places is called THEN at least 5 unique locations and their info is accessible.

Dev Notes

create file in javascripts/helpers/data/places.js create adjacent places.scss

isischristopher commented 4 years ago

const places = [ { title: 'Los Angeles', image: 'src/assets/images/losangeles.jpg', description: 'Los Angeles, often known by its initials L.A., is the most populous city in California; the second most populous city in the United States, after New York City; and the third-most populous city in North America, after Mexico City and New York City. With an estimated population of nearly four million people, Los Angeles is the cultural, financial, and commercial center of Southern California. The city is known for its Mediterranean climate, ethnic diversity, Hollywood, the entertainment industry, and its sprawling metropolis.', }, { title: 'New York City', image: 'src/assets/images/timesquare.jpg', description: 'New York City (NYC) or simply New York (NY), is the most populous city in the United States. With an estimated 2018 population of 8,398,748 distributed over a land area of about 302.6 square miles, New York is also the most densely populated major city in the United States. Located at the southern tip of the state of New York, the city is the center of the New York metropolitan area, the largest metropolitan area in the world by urban landmass and one of the world's most populous megacities, with an estimated 19,979,477 people in its 2018 Metropolitan Statistical Area and 22,679,948 residents in its Combined Statistical Area. A global power city, New York City has been described as the cultural, financial, and media capital of the world, and exerts a significant impact upon commerce, entertainment, research, technology, education, politics, tourism, art, fashion, and sports. The city's fast pace has inspired the term New York minute. Home to the headquarters of the United Nations, New York is an important center for international diplomacy.', }, { title: 'New Orleans', image: 'src/assets/images/frenchquarter.jpg', description: 'New Orleans is a consolidated city-parish located along the Mississippi River in the southeastern region of the U.S. state of Louisiana. With an estimated population of 391,006 in 2018, it is the most populous city in Louisiana. Serving as a major port, New Orleans is considered an economic and commercial hub for the broader Gulf Coast region of the United States. New Orleans is world-renowned for its distinct music, Creole cuisine, unique dialect, and its annual celebrations and festivals, most notably Mardi Gras. The historic heart of the city is the French Quarter, known for its French and Spanish Creole architecture and vibrant nightlife along Bourbon Street. The city has been described as the "most unique" in the United States, owing in large part to its cross-cultural and multilingual heritage.', }, { title: 'Atlanta', image: 'src/assets/images/atlanta.jpg', description: 'Atlanta is the capital and most populous city in the U.S. state of Georgia. With an estimated 2018 population of 498,044, it is also the 37th most-populous city in the United States. The city serves as the cultural and economic center of the Atlanta metropolitan area, home to 5.9 million people and the ninth largest metropolitan area in the nation. Atlanta is rated as a "beta+" world city that exerts a moderate impact on global commerce, finance, research, technology, education, media, art, and entertainment. It ranks in the top twenty among world cities and 10th in the nation with a gross domestic product (GDP) of $385 billion. Atlanta's economy is considered diverse, with dominant sectors that include aerospace, transportation, logistics, professional and business services, media operations, medical services, and information technology. Atlanta has topographic features that include rolling hills and dense tree coverage, earning it the nickname of "the city in a forest." Revitalization of Atlanta's neighborhoods, initially spurred by the 1996 Summer Olympics, has intensified in the 21st century, altering the city's demographics, politics, aesthetics, and culture.', }, { title: 'Japan', image: 'src/assets/images/japan.jpg', description: 'Japan is an island country in East Asia. Located in the Pacific Ocean, it lies off the eastern coast of the Asian continent and stretches from the Sea of Okhotsk in the north to the East China Sea and the Philippine Sea in the south. The kanji that make up Japan's name mean 'sun origin', and it is often called the "Land of the Rising Sun". Japan is the world's 4th largest island country and encompasses about 6,852 islands. The stratovolcanic archipelago has five main islands: Honshu, Hokkaido, Kyushu, Shikoku and Okinawa which make up about 97% percent of Japan's land area. The country is divided into 47 prefectures and unofficially into eight regions, with Hokkaido being the northernmost prefecture and Okinawa being the southernmost prefecture. Japan is the 2nd most populous island country. The population of approximately 126 million is the world's eleventh largest, of which 98.5% are ethnic Japanese. 90.7% of people live in cities, while 9.3% live in the countryside. About 13.8 million people live in Tokyo, the capital of Japan. The Greater Tokyo Area is the most populous metropolitan area in the world with over 38 million people.', }, { title: 'Dubai', image: 'src/assets/images/dubai.jpg', description: 'Dubai is the largest and most populous city in the United Arab Emirates (UAE) and the capital of the Emirate of Dubai. Located on the southeast coast of the Persian Gulf, Dubai is a global city and the business hub of the Middle East. It is also a major global transport hub for passengers and cargo. Oil revenue helped accelerate the development of the city, which was already a major mercantile hub. Today, less than 5% of the emirate's revenue comes from oil. A centre for regional and international trade since the early 20th century, Dubai's economy relies on revenues from trade, tourism, aviation, real estate, and financial services.', }, ];