dammour
2/18/2019 - 8:31 PM

index.html

<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8">
    <title>Salut Wilder</title>
  </head>
  <body>
    <script src="main.js"></script>
  </body>
</html>
/* main.js */

// Define some variables
const nameFilm = 'Forrest Gump';
const releaseDate = '1994';
const nameProducer = 'Robert Zemeckis';
const message = nameFilm + ', réalisé par ' + nameProducer + ', est sorti en ' + releaseDate + '.';

// Display a popup
alert(message);