added console and alert

added console .log and and alert for css