Used prompt, command, and console.log functions in js