windows alert code example Example: how to make an alert on a page go to inspect element, go to console. type in alert("text")