Question: Link to the zip file(Homework #3, DOMPracticeStudent.zip)-- https://www.grotto-networking.com/WebSystems/WebSystemsMaterials.html#weekly-materials The zip file includes an HTML file, an external style sheet file, and an external JavaScript file.

Link to the zip file(Homework #3, DOMPracticeStudent.zip)-- https://www.grotto-networking.com/WebSystems/WebSystemsMaterials.html#weekly-materials
The zip file includes an HTML file, an external style sheet file, and an external JavaScript file. You will NOT change the HTML file in anyway. You will need to look at it to see the structure and the various IDs that I put on the elements. Almost all your work will go into the JavaScript file with just a few additions to the stylesheet required. Note: the HTML file includes both the CSS and JavaScript files 1. (1Opts) Display questions and answers from the questions array given in the JavaScript file. In this assignment you have my permission to use global variables. In the JavaScript file you will see I've already defined a few for you: a "state" variable that gives the index of the current question, qIndex, DOM element reference variables qCountSpan and qIndexSpan. Using global variables makes them accessible from your browsers developers console so you can interactively work with them to debug and develop your code. a. b. Create paragraph
elements to hold question and answer. Hint: use document.createElement("p") c. Need to add those paragraph elements to the corresponding
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
