Created
October 28, 2018 12:42
-
-
Save vigi3/bae91e0ab697e7b8d95739db3499818c to your computer and use it in GitHub Desktop.
Quêtes javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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