Skip to content

Instantly share code, notes, and snippets.

@vigi3
Created October 28, 2018 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vigi3/bae91e0ab697e7b8d95739db3499818c to your computer and use it in GitHub Desktop.
Save vigi3/bae91e0ab697e7b8d95739db3499818c to your computer and use it in GitHub Desktop.
Quêtes javascript
/* hello-wilder.js */
// Define some variables
const titleMovie = 'Gladiator';
const releaseDate = 2000;
const Director = 'Ridley Scott'
const message = 'Le film ' + titleMovie + ' sortie en ' + releaseDate + ' et réalisé par ' + Director + ' est le meilleur film du monde !';
// Display a popup
alert(message);
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Hello Wilder</title>
</head>
<body>
<script src="hello-wilder.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment