Setting up


Before starting this tutorial, you'll need the following:

  • A basic knowledge of HTML, CSS, and JavaScript
  • A browser of your choice
  • A text editor of your choice
  • Node.js and NPM installed on your machine

Set up your development environment

Step 1. Download the code

Download the tutorial's starter code either as a ZIP file or via git:

git clone

Step 2. Install the dependencies

Unzip the archive file (if necessary) and navigate into the directory. Install the dependencies by running npm install.

cd advanced-interactivity-in-amp
npm install

Step 3. Run the development server

Start the development server with node.js:

node app.js

Then, navigate to http://localhost:3000 in your web browser to see the AMP page running!