Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedI 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions