Found a problem but cannot fix. Something wrong with the markup in getting the correct if or else alert to pop up. Changed it around a lot but nothing worked.