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