Update assignment3index.html

 add alert functionality