changing prompt to console.log

changing prompt to console.log