Final Exam Webpage!

This page will send data off to final_exam.php

You must create the AJAX call to gather the information and then complete the validation

From the first number field, take an integer representing the number of iterations final_exam.php must perform

You must validate/ensure that the number is a positive integer

The second number will be what we compare against. You will output whether or not the returned input is greater than the number

BONUS:
If it is not, run the AJAX call again. Keep track of the number of iterations before a success

Terminate after 10 iterations if the final_exam.php has not returned such a number

Num iterations:
Number to beat: