Making Web Pages Faster
Turn pages to read the full guide and examples
Making Web Pages Faster
An interactive learning notebook
Why speed matters
Slow pages make visitors wait. Performance includes loading, responsiveness and visual stability. Images, fonts, JavaScript and layout all play a role.
02Preparing images
Oversized images waste bandwidth. Exporting at suitable dimensions and using formats such as WebP can help. SVG is generally suited to vector graphics and icons, not every photograph.
03Mini project: Image loading
The example specifies width and height to help reserve space. Lazy loading can defer off-screen images, but it is not always appropriate for an important image visible immediately.
04Code Example
Try this small example in your own practice file.
<img src="ornek.webp"
width="800" height="500"
loading="lazy"
alt="Örnek proje görseli">05Organizing code
Reducing unused code and avoiding unnecessary work can improve performance. Transform and opacity often animate smoothly, but devices vary. Respect reduced-motion preferences.
06Visual Example
Actual screenshot of my photo gallery. Image-heavy pages benefit from thoughtful sizing and loading; this is not a performance test result.

Actual website screenshot · Photo gallery (not a speed test)
07Measurement tools
Lighthouse and PageSpeed Insights can highlight opportunities, but a single score does not tell the whole story. Results vary by device and network. The gallery screenshot is from my own website; it does not show a performance measurement.
08Iterative improvement
Start with large images, broken requests and console errors. Then review CSS and JavaScript. Measure again after changes to understand their effect. The goal is a fast, accessible experience rather than a perfect score at any cost.
09Your Turn
Create a small sample page, test it at different widths and write down what you learned.
10Thanks for reading
Continue exploring the blog.
✦
Use arrow keys or swipe to turn pages