This chapter looks at how to deliver better user experiences with the interactive components available in AMP. Our example article page is beginning to look nice and enticing, but so far there has been no way for visitors to interact with it. Building on our example, we'll learn how to add more interactive UI components that will both help to improve the user experience and improve how the site design looks.
All the techniques in this chapter have two things in common that help to enhance the user experience:
- They require some kind of interaction or trigger from the user
- They are designed to make the most of the limited screen space available on mobile devices
Specifically, we'll be looking at the following topics:
- Creating collapsible content sections with <amp-accordion>
- Building navigation menus with <amp...