used confirm,alert, & prompt