Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WCS - Basics of JS - Discover the language
const movieName = "The Grand Budapest Hotel";
const movieDirector = "Wes Anderson";
const releaseDate = 2014;
alert(`${movieName} directed by ${movieDirector}, was released in ${releaseDate.toString()}.`);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Favourite Movie</title>
</head>
<body>
<script src="./favourite-movie.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment