matthewaustinbell / favorite-places

0 stars 0 forks source link

add cities to page #3

Open matthewaustinbell opened 5 years ago

matthewaustinbell commented 5 years ago

As a user, when the page loads, I should see cards for all cities.

AC WHEN the page loads THEN I should see a card for each city AND the cards should be in rows of 3 on tablet+ and rows of 2 on mobile AND the cards should display the following properties:

cityName cityState cityImage favoriteRestaurant favoriteBar favoriteHotel favoriteTouristAttraction Development XHR request to places.json to get the array of cities write a domStringBuilder function that takes an array of rides as an input and makes bootstrap cards write a printToDom function that takes two inputs, divID and textToPrint