Question: Figure 3 - 1 9 Completed Project 3 - 2 NASA After the for loop, change the inner HTML of the document element by the

Figure 3-19 Completed Project 3-2 NASA
After the for loop, change the inner HTML of the document element by the id "gallery" to the value of the
htmlCode variable.
Save your changes to the file and then load project03-02.html in your browser. Verify that the page displays the
14 images in the slide gallery along with their captions.
Hands-On Project 3-3
n this project you will generate the HTML code for a web table displaying the top 10 movies from the IMDB
website. Information on each movie is stored in arrays that have been created for you. Your job will be to
reate a program loop that loops through the content of the arrays and writes the information as new table
ows in the web table. A preview of the completed project is shown in Figure 3-20.
Do the following:
Use your code editor to open the project03-03_txt.html and project03-03_txt.js files from the js03
project 03 folder. Enter your name and the date in the comment section of each file and save them as
project03-03.html and project03-03.js, respectively.
Go to the project03-03.html file in your code editor and in the head section add a script element to load the
project03-03.js file, deferring the loading of the JavaScript source file until the entire HTML file is loaded. Study
the contents of the HTML file and save your changes.
Go to the project03-03.js file in your code editor. Below the code that creates and populates the links array,
declare the htmlCode variable, setting its initial value to an empty text string.
Figure 3 - 1 9 Completed Project 3 - 2 NASA After

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!