console.log and alert

Used console.log and alert