This directory contains code and answers for the Understanding INP codelab.
This directory contains two example pages to accompany the Measure performance with web-vitals.js, Google Analytics and BigQuery codelab.
basic.htmldemonstrates adding theweb-vitalslibrary as a module and printing its output to the console.diagnostics.htmldemonstrates usingweb-vitalsandPerformanceObserverAPIs to gather rich debugging information about Core Web Vitals metrics.
If you spot an issue with the example pages, please raise it using the Issues UI, or follow the contribute guide.