Skip to Content
Skip to content
Tutorials

Programming Tutorials

Standalone programming tutorials for solving one specific problem at a time. Each guide starts with the exact error message, failing behavior, or design constraint, gives you a minimal reproducible script or query, and walks through the fix with real output.

Pick a language below or filter by topic and difficulty when you need a quick, practical reference you can test locally and apply right away.

HTML and CSS
Images With alt Text That Isn't Useless Level: Beginner

Choose different text alternatives for informative, decorative and linked images, then inspect their names and broken-image behavior.

HTML and CSS
Links That Open Where You Meant Them To Level: Beginner

Build a three-file local site, resolve paths from nested folders and test fragments and deliberate new-tab navigation.

HTML and CSS
Semantic HTML in 10 Minutes: header, main, nav, footer Level: Beginner

Build a page with named navigation regions and a working skip link, and distinguish page landmarks from an article header.

HTML and CSS
Card Component You Can Drop on Three Pages Level: Intermediate

Reuse one card across home, catalog and related-item contexts, test long content and keep each action accessible without nested links.

HTML and CSS
Fix Horizontal Scroll on Mobile in 10 Minutes Level: Intermediate

Reproduce a fixed-width overflow on a narrow screen, locate the offending element and verify a repair without clipping the page.

HTML and CSS
Fix a Flex Navbar That Overflows With Long Labels Level: Intermediate

Reproduce navigation overflow with long and translated labels, repair nested flex and text constraints, and verify reflow and keyboard access.

HTML and CSS
Focus Rings You Can See (And Shouldn't Remove) Level: Intermediate

Test visible keyboard focus on a link, input and working button, and distinguish focus-visible from hover and pointer focus.

HTML and CSS
CSS Grid: A Two-Column Layout That Doesn't Collapse Level: Intermediate

Build a complete main-and-sidebar layout, reproduce long-content overflow, and verify track widths, the mobile breakpoint and keyboard access.

HTML and CSS
Media Queries That Match Actual Phone Widths Level: Intermediate

Choose a breakpoint by testing real card content, compare 719px with 720px and distinguish CSS viewport width from device resolution.

HTML and CSS
Position Absolute vs Relative Without the Mystery Level: Intermediate

Anchor badges to separate cards, inspect their containing block and distinguish a visual relative offset from normal-flow spacing.

HTML and CSS
Make Images Responsive Without Breaking Aspect Ratio Level: Intermediate

Compare natural sizing, cover and contain with one downloadable test image. Measure the result and choose cropping deliberately without stretching the artwork.

HTML and CSS
Sticky Header That Doesn't Cover Your Content Level: Intermediate

Reproduce an anchor hidden beneath a sticky header and keep a measured scroll offset correct when the header wraps.