Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I just need JavaScript that will complete #2 using the corresponding countries, continents and cities in the pic at the bottom. I will do the
I just need JavaScript that will complete #2 using the corresponding countries, continents and cities in the pic at the bottom. I will do the photo properties array myself since you don't know the image file names. Thanks country boxes with a JavaScript loop literals. Each 2. In the fil C data.js, create an array named countries that contain object literal should contain four properties: n four obi continen eities, and photos. The cities and photos properties should be art g the city names and image filenames respectively has the signature shown below. This function is going to generate the th ame d be arrays In the file functions.3a, create a function named outputcountrybBoy Instru amed outputcountrybox (using document.write) for a single country box runction outputcountryBox (name, continent,cities,photos) Create array of four country object literals E- that contain name, continent, cities, and photos properties Create an inner f to output cities box Create an inner function box Replace markup with a JavaScript loop using data in your array of country objects FIGURE 8 27 completed Proiect2
I just need JavaScript that will complete #2 using the corresponding countries, continents and cities in the pic at the bottom. I will do the photo properties array myself since you don't know the image file names. Thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started