October 2017
Intermediate to advanced
370 pages
8h 57m
English
The browser developer console is probably the easiest way to start validating your pages. Since the validator is included in the AMP-JS library, you can validate every page out of the box. To validate an AMP page, open the page in your browser, and add #development=1 to the URL. Your URL will look something like this:
https://theampbook.com/ch2/news.amp.html#development=1
Or, if you're working locally, then your URL will look something like this:
http://localhost/news.amp.html#development=1
Now, with the developer console open, reload the page. You should see some validator output in the console that looks like this:
Ouch! Look at all those red error messages. Each ...
Read now
Unlock full access