
Explore how to create real-world AMP pages with practical examples, including contact forms, carousels, off canvas mobile navigation, logos using images, and embedded YouTube videos, guided by theory and practice.
Explore accelerated mobile pages (AMP), an open source framework by Google to improve performance. Learn AMP basics from doctype to AMP, canonical, responsive design, and inline CSS with amp-img.
Amp delivers speed and better search engine ranking, with no custom javascript, optimized libraries, and instant load, while expanding beyond news sites to e-commerce.
Navigate amp constraints by avoiding libraries like bootstrap, using amp components and amp bind, and reusing styles to keep csx small. See how amp speeds sites and sharpens skills.
We will be setting up our dev server with SFTP connection via our text editor & Filezilla
Build a valid AMP page by adding the AMP attribute, canonical link, viewport, and boilerplate, then create a hello world example with AMP custom styles.
Validate your amp pages as you go using online validators and the amp chrome extension, catching errors early to ensure Google indexing benefits and consistent performance.
AMP components are like jQuery libraries that you include in your project when your client needs a big ass slider or a light-box for the gallery of puppies.
Learn to add responsive images with the AMP tag, using width, height, and sizes to serve appropriately sized images and save mobile data.
Recreate the furbaby website in amp using m components, validate them, and build a responsive home page with an off-canvas mobile menu and testimonials carousel.
Recreate the site header by adding a favicon and a responsive 200x200 logo, adjust padding and layout to maintain header integrity across viewports.
Develop a mobile off-canvas navigation with the AMP sidebar and hamburger toggle, learning to open the sidebar via on tab and keep content accessible.
Embed Google Maps in AMP using the amp-iframe component, configure a responsive aspect ratio, enable scripts with sandbox, and test sizing across breakpoints for a full-width map on the page.
Learn to implement a testimonials carousel in an AMP page using the built-in carousel component, featuring three text bubbles and responsive sizing with media queries for clean presentation.
Build an amp compliant contact form using post method, top action, amp form extensions with mustache for user feedback, and client-side email validation, avoiding bootstrap with amp.
Feel free to copy any of the code of the site, except the hero image & the social media icons. Play around with it!
Learn to build AMP forms with get and post methods, use the AMP mustache template engine for validation, and implement AMP-form with action-xhr and clear error or success messaging.
Learn how to implement a secure PHP form submission for AMP by validating inputs, configuring access-control headers, and returning JSON responses for success or errors.
Learn to code an amp newsletter subscription form by importing the amp form component, configuring post actions, server-side verification, and mustache templates to display errors and success messages.
Do not name your container ".container" and use inline styles for full width images
Learn to create a sticky header with position: sticky and semantic markup, ensuring the header sticks to the main content and uses a 500px height media query for small screens.
Open and close a section in AMP without an accordion using a button with toggle visibility and up and down arrows, while using aria labels and hidden attribute for accessibility.
Warning: I am no longer providing help or support for this course.
The most visited websites in the world use AMP in one way or another. Clients and employers are adamant to get their sites first place in Google. Learning how to code with AMP will make you more employable, get your more clients and raise your customer's satisfaction levels.
Imagine being the only person in a web design studio who knows AMP! Imagine getting your client's website on the first page in Google by redesigning it using this course!