Adding more pages
Now that you are familiar with adding a page to an AMP story, adding the next pages in our "The Joy of Pets" story is very similar. Based on the information provided below, go ahead and create the remaining pages by using what you've learned so far. If you get stuck, look at the completed (pets-completed.html) code.
TIP – Remember that each page needs a unique "id" attribute (e.g.,
Page 1: Cats
Demonstrates how to display an image and text in a single layer.
Page 2: Dogs
Demonstrates how to arrange text and display a screen-filling image with two layers.
Page 3: Birds
Demonstrates how to arrange text, display a screen-filling image, and provide background audio for the page.
Page 4: Rabbits
Demonstrates how to arrange text and display a screen-filling video for the page.
Our "Joy of Pets" story is nearly complete. We'll use animations in our last page to bring all the pets together.
Written by @bpaduch