q1react

file: q1react/index.html url: http://SERVER/~UTORID/repo_UTORID_309exam/finalExam/q1react/index.html Complete index.html so that it implements the vote application. The behaviour of this application should be identical to that of q1js.
NOTE: q1react/index.html has one component instance for each vote question, each component maintains its own yes and no counts. Again, this application is just tracking the number of times 'yes' and 'no' is clicked by this one user. So it is not really tracking votes. You can not see other users 'votes'.

First visit to the page

After pressing 'yes' on the top question

After pressing 'no' on the bottom question

After pressing 'yes' on the bottom question

After many more yes/no clicks on both questions