Skip to main content
MSH Logo

General

Programming paradigms, design patterns, clean code, HTTP headers & SameSite, browser rendering, accessibility, cross‑origin fetches, and TypeScript/Zod deep dives.

13 articles

January 6, 2026general
Minesweeper Algorithms Explained
Deep dive into the algorithms behind Minesweeper - grid generation, mine placement, neighbor counting, flood fill reveal, and game state management.
January 6, 2026general
Sudoku Algorithms Explained
Deep dive into Sudoku algorithms - puzzle generation, backtracking solver, constraint validation, and candidate calculation.
December 19, 2025general
Understanding TypeScript Generics
Generics are TypeScript's way of creating reusable components that work with multiple types rather than a single type.
October 4, 2025general
The Mental Model of SQL: Understanding Database Queries
Master SQL with a clear mental model. Learn how SQL queries work, understand JOINs, subqueries, and performance optimization through practical examples and visual explanations.
May 10, 2024general
Understanding SameSite Cookies
Master SameSite cookies for enhanced web security. Learn about Strict, Lax, and None attributes, CSRF protection, and browser cookie restrictions with practical examples and best practices.
April 8, 2024general
How to Improve Web Accessibility
Complete guide to web accessibility best practices. Learn semantic HTML, ARIA roles, heading hierarchy, accessible forms, and inclusive design techniques to create websites usable by everyone.
March 31, 2024general
Understanding How The Browser's Pixel Pipeline Works
Master browser rendering performance with the pixel pipeline. Learn about JavaScript, Style calculations, Layout, Paint, and Composite stages to eliminate jank and optimize web performance.
March 17, 2024general
What is Cross-Origin Resource Sharing (CORS)?
Master CORS (Cross-Origin Resource Sharing) - understand browser security, preflight requests, credentials, and how to configure CORS properly. Complete guide with practical examples and troubleshooting.
February 25, 2024general
How I Use Zod with Wordle Unlimited
Learn practical Zod validation techniques through Wordle Unlimited. Discover runtime type safety, localStorage validation, error handling, and schema design for game development and data validation.
February 18, 2024general
Deep Dive Into TypeScript Utility Types
Master TypeScript utility types including Partial, Required, Pick, Omit, Record, and advanced types. Learn type manipulation, practical examples, and best practices for type-safe development.
February 11, 2024general
Understanding HTTP Headers
Complete guide to HTTP headers - learn about request and response headers, authentication, caching, CORS, and security headers. Master web communication with practical examples and best practices.
February 4, 2024general
Data Validation with Zod
Master TypeScript-first data validation with Zod. Learn schema validation, type inference, error handling, form validation, and advanced Zod techniques with practical examples and best practices.
December 29, 2023general
How Browsers Work
Comprehensive guide to browser internals - DNS resolution, HTTP exchange, HTML parsing, DOM construction, CSSOM, render tree, layout, painting, and compositing. Understand browser performance optimization.
GET IN TOUCH

Let's work together

I build fast, accessible, and delightful digital experiences for the web.
Whether you have a project in mind or just want to connect, I'd love to hear from you.

or reach out directly at hello@mohammadshehadeh.com