Question: 1 . Use your code editor to open the project 0 3 - 0 2 _ txt . html and project 0 3 - 0
Use your code editor to open the projecttxthtml and projecttxtjs files from the js c project folder. Enter your name and the date in the comment section of each file and save them as projecthtml and projectjs respectively.
Go to the projecthtml file in your code editor and in the head section add a script element to load the projectjs 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 projectjs file in your code editor. Below the code that creates and populates the captions array, declare the htmlCode variable, setting its initial value to an empty text string.
Create a for loop with a counter that goes from to less the length of the captions array in increments of With each iteration, add the following text to the value of the htmlCode variable:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
