js how to alert whatever page the user is i nfrom console code example Example: simple alert program in javascript alert("this is the alert")