Basic Functionality

Created the alert in CSS and added functionality in JavaScript