Running Your First Audit
Get hands-on experience by performing your initial Lighthouse audits on various web pages and understanding the scoring system.
Running Your First Audit is a free Web Performance Optimization & Lighthouse lesson on CoddyKit — lesson 2 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Web Performance Optimization & Lighthouse learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Your First Lighthouse Audit
Welcome to your first hands-on Lighthouse audit! In this lesson, you'll learn how to run an audit on any webpage and understand its performance scores.
Lighthouse is a powerful tool built by Google to help developers improve the quality of their web pages. It checks for performance, accessibility, SEO, and more.
Where to Find Lighthouse
Google Lighthouse is built right into your Chrome browser's developer tools. You don't need to install anything extra!
- Open Chrome and navigate to any webpage.
- Right-click anywhere on the page and select "Inspect" (or use
Ctrl+Shift+I/Cmd+Option+I). - This opens the Developer Tools panel.
Launching Your First Audit
Once Developer Tools are open, navigate to the Lighthouse tab. You'll see options to configure your audit:
- Categories: Choose which aspects to check (e.g., Performance, Accessibility).
- Device: Select "Mobile" or "Desktop" to simulate different environments.
- Click "Analyze page load" to start!
What Lighthouse Checks
Lighthouse audits cover several key areas to give you a complete picture of your website's health:
- Performance: How fast your page loads and responds.
- Accessibility: How usable your page is for people with disabilities.
- Best Practices: General web development recommendations.
- SEO: How well your page is optimized for search engines.
- PWA: Checks for Progressive Web App standards (if applicable).
Behind the Scenes of an Audit
When you click "Analyze page load," Lighthouse goes to work:
- It loads your page in a simulated, controlled environment.
- It gathers data on various metrics like load times, user interactions, and best practice adherence.
- This data is then compiled into a comprehensive report, which you'll see in the DevTools panel.
Decoding Your Lighthouse Score
After the audit, you'll see an overall score for each category, usually from 0 to 100. Higher is better!
Each score is an average of several underlying metrics. For example, the Performance score combines metrics like First Contentful Paint (FCP) and Largest Contentful Paint (LCP).
Lighthouse Scoring Ranges
Lighthouse uses a color-coded system to quickly show you how your page performs:
- 0-49 (Red): Poor performance. There's significant room for improvement.
- 50-89 (Orange): Average performance. Good, but could be better.
- 90-100 (Green): Excellent performance. Your page is doing great!
Aim for green scores across all categories for the best user experience.
A Real-World Audit (Conceptual)
Imagine you audit a simple blog post. Lighthouse might give you a report like this:
- Performance: 75 (Orange)
- Accessibility: 98 (Green)
- Best Practices: 90 (Green)
- SEO: 85 (Orange)
This report tells you your blog is accessible and follows many best practices, but its performance and SEO could use some tweaks.
Tips for Accurate Audits
To get the most accurate and consistent results from Lighthouse, keep these tips in mind:
- Use Incognito Mode: This disables browser extensions that might interfere.
- Stable Network: Ensure you have a consistent internet connection.
- Close Other Tabs: Reduce background activity for clearer results.
- Run Multiple Times: Performance can vary slightly, so run a few audits and average the scores.
Check Your Understanding
Let's test what you've learned about Lighthouse scoring.
Recap: Running & Scoring Audits
Great job! You've learned how to run your first Lighthouse audit and understand its scoring system.
- You can access Lighthouse via Chrome DevTools.
- Audits cover Performance, Accessibility, Best Practices, SEO, and PWA.
- Scores are color-coded: 0-49 (red), 50-89 (orange), 90-100 (green).
- For accurate results, use Incognito mode and a stable network.
Next, we'll dive deeper into interpreting these reports and understanding the recommendations!
Frequently asked questions
Is the “Running Your First Audit” lesson free?
Yes — the full text of “Running Your First Audit” is free to read here on the web, and the Web Performance Optimization & Lighthouse course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Web Performance Optimization & Lighthouse course, upgrade to CoddyKit PRO.
What will I learn in “Running Your First Audit”?
Get hands-on experience by performing your initial Lighthouse audits on various web pages and understanding the scoring system. You practise Web Performance Optimization & Lighthouse with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Web Performance Optimization & Lighthouse?
No prior experience is required. Web Performance Optimization & Lighthouse on CoddyKit is structured for beginners through advanced learners; this is — lesson 2 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Running Your First Audit” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Web Performance Optimization & Lighthouse lesson?
Yes. Every Web Performance Optimization & Lighthouse lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Introduction to Google Lighthouse
- Running Your First Audit
- Interpreting Lighthouse Reports
- Understanding Lighthouse Scoring