voting.png
Description of voting41.js data structure
SampleScreen.png
Sample Screen

ICT-4570 Homework 4B

Purpose

This exercise allows you to include a JavaScript file for data, and use it to populate your form. You will also get a taste for timers.

What to Hand In

Canvas submission instructions:
Please combine multiple files into a single "zip" archive, and save it in a location that you will remember. When you are ready to submit the assignment solution, open the assignment in Canvas, and click on the Submit for Evaluation button at the top, attach the file, and click Submit for Evaluation at the bottom.

Problems

  1. Politics and poker part 2
    1. Incorporate the provided data source, and use it to populate your election results.
    2. There are several sets of data for the candidates in the data set, each at a different index in the array.
    3. After applying each update, set a timeout after which the next update will be applied.

Notes

Evaluation

Criteria Weight
HTML and CSS updated to properly display assignment data 20
Function to apply vote array to form 20
Application of candidate names to inputs 20
Set up timeout to apply the next update at the desired interval 20
Screenshots of results. 20