Skip to content

Instantly share code, notes, and snippets.

@ConnorFM
Created April 22, 2019 15:27

Revisions

  1. ConnorFM created this gist Apr 22, 2019.
    9 changes: 9 additions & 0 deletions boondock.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    // Define some variables
    const movieName = 'The Boondock Saints';
    const releaseYear = '1999';
    const director = 'Troy Duffy'
    const message = 'The movie ' + movieName + ' ,directed by' + director + ' and released in ' + releaseYear + ' is my favourite movie' ;

    // Display a popup
    alert(message);

    10 changes: 10 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    <!DOCTYPE html>
    <html lang="fr">
    <head>
    <meta charset="utf-8">
    <title>The Boondock Saints</title>
    </head>
    <body>
    <script src="boondock.js"></script>
    </body>
    </html>