Frage im Vorstellungsgespräch bei SelectMedia

How would you notify the user if something went wrong using JavaScript?