Created
June 5, 2020 08:32
-
-
Save justinehell/010bee5529700f9d250ad6cc50670ad3 to your computer and use it in GitHub Desktop.
Variation sur le 1er programme
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
const movieName = 'Forrest Gump'; | |
const releaseDate = '1994'; | |
const director = 'Robert Zemeckis'; | |
const message = movieName + ', réalisé par ' + director + ', est sorti en ' + releaseDate; | |
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>My favorite movie</title> | |
</head> | |
<body> | |
<script src="favoriteMovie.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment