FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
My typing game scored 41 on Lighthouse. Two days later it hit 100. Here's every fix.
How-ToWeb Development

My typing game scored 41 on Lighthouse. Two days later it hit 100. Here's every fix.

via Dev.to WebdevMADERZ3w ago

I built a typing test called TypeVelocity . Pure HTML, CSS, and JavaScript — no React, no Next.js, no framework. Just files and a build script. I finally ran Lighthouse on it. Mobile: 41 Performance. 83 Accessibility. 92 SEO. Desktop was a 70 which sounds better until you realize passing is 90. Two days of debugging later: 100/100/100/100. Both mobile and desktop. Here's what was actually wrong and what fixed it. CLS was 1.0 (yes, the maximum) This single issue was responsible for most of the damage. I load CSS asynchronously using the media="print" onload trick — the browser doesn't block rendering for the stylesheet. Critical styles are inlined in a <style> tag in the HTML head so the page looks correct on first paint. Sounds smart. Except I forgot about the stuff that's supposed to be hidden . I had two modal overlays, a cookie banner, an adblocker banner, and a tips popup in the DOM. All of them rely on CSS to stay invisible ( opacity: 0 , transform: translateY(100%) , etc). That C

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
26 views

Related Articles

Vibe Coding Isn’t for Everyone (And That’s the Point)
How-To

Vibe Coding Isn’t for Everyone (And That’s the Point)

Medium Programming • 2d ago

Sometimes We Make Mistakes (Meta’s Cost $80 Billion)
How-To

Sometimes We Make Mistakes (Meta’s Cost $80 Billion)

Medium Programming • 2d ago

Gate.io vs KuCoin — Which Crypto Exchange Is Better? (2026)
How-To

Gate.io vs KuCoin — Which Crypto Exchange Is Better? (2026)

Dev.to Beginners • 2d ago

How to Build a Real Multi-Agent Engineering Workflow With oh-my-claudecode
How-To

How to Build a Real Multi-Agent Engineering Workflow With oh-my-claudecode

Medium Programming • 2d ago

Clean Code Principles Every Software Engineer Should Follow
How-To

Clean Code Principles Every Software Engineer Should Follow

Medium Programming • 2d ago

Discover More Articles