Skip to content

Instantly share code, notes, and snippets.

@JeromeBATAILLE
Created September 12, 2018 18:23
Show Gist options
  • Save JeromeBATAILLE/2c9df4a6a5c08acc362ec885336e432e to your computer and use it in GitHub Desktop.
Save JeromeBATAILLE/2c9df4a6a5c08acc362ec885336e432e to your computer and use it in GitHub Desktop.
js-1 découverte du langage
/* hello-wilder.js */
// Define some variables
const favouritMovy = 'The Matrix Reloaded';
const year = 2003;
const director = 'The Wachowski';
const message = favouritMovy + ', réalisé par ' + director + ', est sorti en ' + year;
// 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