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