Is there a step-by-step solution with this case problem from New Perspectives on HTML5 and CSS3, Comprehensive 7th edition by Patrick Carey for Tutorial #10 Create: Case Problem 4 VoterWeb for HTML5 pages 805-808?
Tutorial 10: Exploring Arrays, Loops, and Conditional Statements | HTML and CSS
HTML 805
Case Problem 4
E Data Files needed for this Case Problem: vw_election_txt.html, vw_results_txt.js, 2 CSS files, 1 JS file, 1 PNG file
VoterWeb
Pam Carls is a manager for the website VoterWeb, which compiles voting totals and statistics from local and national elections. Pam has the results of recent congressional elections from eight districts in Minnesota stored as multidimensional arrays in a JavaScript file. Pam wants you to create a script displaying these results and calculating the vote percentage for each candidate within each race. A preview of the page is shown in Figure 10-38.
Figure 10-38
Election results at VoterWeb
Voter-Web
Minnesota Congressional Elections
District 1
District 2
64,3362
42.1661
22 23.217576
District 4
District 5
District 6